public function removeInvalidBlock(Block $block, $reason = 'unknown')
	{
		/* @var $testBlock Entity\Abstraction\Block */
		foreach ($this as $index => $testBlock) {
			if ($testBlock->equals($block)) {
				\Log::warn("Block {$block} removed as invalid with reason: {$reason}");
				
				$this->offsetUnset($index);
			}
		}
	}
public function removeInvalidBlock(Block $block, $reason = 'unknown')
	{
		/* @var $testBlock Entity\Abstraction\Block */
		foreach ($this as $index => $testBlock) {
			if ($testBlock->equals($block)) {
				\Log::warn("Block {$block} removed as invalid with reason: {$reason}");
				
				$this->offsetUnset($index);
			}
		}
	}
public function removeInvalidBlock ( Block $ block , $ reason = 'unknown' ) { /* @var $testBlock Entity\Abstraction\Block */ foreach ( $ this as $ index => $ testBlock ) { if ( $ testBlock -> equals ( $ block ) ) { \ Log :: warn ( "Block {$block} removed as invalid with reason: {$reason}" ) ; $ this -> offsetUnset ( $ index ) ; } } }
Remove block marking as invalid
@param Entity\Abstraction\Block $block
@param string $reason
Remove block marking as invalid