src/Http/Responds.php
protected function getDefaultMessage($code, $message): string
    {
        if ($code !== null && $message === null) {
            return ApiResponse::$statusTexts[$code]['message'];
        }

        return $message;
    }
protected function getDefaultMessage($code, $message): string
    {
        if ($code !== null && $message === null) {
            return ApiResponse::$statusTexts[$code]['message'];
        }

        return $message;
    }
protected function getDefaultMessage ( $ code , $ message ) : string { if ( $ code !== null && $ message === null ) { return ApiResponse :: $ statusTexts [ $ code ] [ 'message' ] ; } return $ message ; }
Checks if specified code already has default message.

@param $code
@param $message

@return string
Checks if specified code already has default message .