src/Standards/BestIt/Sniffs/DocTags/ParamTagSniff.php
private function checkArgumentItself(?string $tagContent = null): void
    {
        if (!$this->getArgumentTokenOfTag()) {
            throw (new CodeError(
                static::CODE_TAG_MISSING_VARIABLE,
                self::MESSAGE_TAG_MISSING_VARIABLE,
                $this->stackPos
            ))
                ->setPayload([$tagContent])
                ->setToken($this->token);
        }
    }
private function checkArgumentItself(?string $tagContent = null): void
    {
        if (!$this->getArgumentTokenOfTag()) {
            throw (new CodeError(
                static::CODE_TAG_MISSING_VARIABLE,
                self::MESSAGE_TAG_MISSING_VARIABLE,
                $this->stackPos
            ))
                ->setPayload([$tagContent])
                ->setToken($this->token);
        }
    }
private function checkArgumentItself ( ? string $ tagContent = null ) : void { if ( ! $ this -> getArgumentTokenOfTag ( ) ) { throw ( new CodeError ( static :: CODE_TAG_MISSING_VARIABLE , self :: MESSAGE_TAG_MISSING_VARIABLE , $ this -> stackPos ) ) -> setPayload ( [ $ tagContent ] ) -> setToken ( $ this -> token ) ; } }
Checks if the argument of the function itself exists.

@param null|string $tagContent
@throws CodeWarning

@return void
Checks if the argument of the function itself exists .