public function removeAttribution($attribution)
    {
        $key = array_search($attribution, $this->attributions);

        if ($key !== false) {
            unset($this->attributions[$key]);
        } else {
            $this->addMethod('removeAttribution', array($attribution));
        }

        return $this;
    }
public function removeAttribution($attribution)
    {
        $key = array_search($attribution, $this->attributions);

        if ($key !== false) {
            unset($this->attributions[$key]);
        } else {
            $this->addMethod('removeAttribution', array($attribution));
        }

        return $this;
    }
public function removeAttribution ( $ attribution ) { $ key = array_search ( $ attribution , $ this -> attributions ) ; if ( $ key !== false ) { unset ( $ this -> attributions [ $ key ] ) ; } else { $ this -> addMethod ( 'removeAttribution' , array ( $ attribution ) ) ; } return $ this ; }
Remove attribution.

@param string $attribution The attribution.

@return $this
Remove attribution .