public function removeChild(TokenInterface $child, $strict = true)
    {
        $index = array_search($child, $this->children, !!$strict);

        if ($index !== false) {
            unset($this->children[$index]);
        }

        return $this;
    }
public function removeChild(TokenInterface $child, $strict = true)
    {
        $index = array_search($child, $this->children, !!$strict);

        if ($index !== false) {
            unset($this->children[$index]);
        }

        return $this;
    }
public function removeChild ( TokenInterface $ child , $ strict = true ) { $ index = array_search ( $ child , $ this -> children , ! ! $ strict ) ; if ( $ index !== false ) { unset ( $ this -> children [ $ index ] ) ; } return $ this ; }
Remove a child from this block

@param TokenInterface $child [required] The child to remove
@param bool $strict [optional] Default true. If the comparison should be strict. A non strict comparsion
will remove a child if it has the same properties with the same values
@return $this
Remove a child from this block