src/Amadeus/Client/ResponseHandler/FOP/HandlerValidateFOP.php
protected function makeStatusForPotentiallyNonExistent($errorCatNode)
    {
        if ($errorCatNode instanceof \DOMNode) {
            $status = $this->makeStatusFromErrorQualifier($errorCatNode->nodeValue);
        } else {
            $status = Result::STATUS_ERROR;
        }

        return $status;
    }
protected function makeStatusForPotentiallyNonExistent($errorCatNode)
    {
        if ($errorCatNode instanceof \DOMNode) {
            $status = $this->makeStatusFromErrorQualifier($errorCatNode->nodeValue);
        } else {
            $status = Result::STATUS_ERROR;
        }

        return $status;
    }
protected function makeStatusForPotentiallyNonExistent ( $ errorCatNode ) { if ( $ errorCatNode instanceof \ DOMNode ) { $ status = $ this -> makeStatusFromErrorQualifier ( $ errorCatNode -> nodeValue ) ; } else { $ status = Result :: STATUS_ERROR ; } return $ status ; }
Make status from a category DOMNode or default status.

@param \DOMNode|null $errorCatNode
@return string
Make status from a category DOMNode or default status .