1 | <?php |
||
22 | class Factory extends Component |
||
23 | { |
||
24 | /** |
||
25 | * @return SamlMessage |
||
26 | * @throws \Exception |
||
27 | */ |
||
28 | public static function receive() |
||
42 | |||
43 | /** |
||
44 | * @param SamlMessage $message |
||
45 | * @param ProviderInterface $provider |
||
46 | * @return mixed |
||
47 | * @throws InvalidMetadata |
||
48 | */ |
||
49 | public static function send(SamlMessage $message, AbstractProvider $provider) |
||
55 | |||
56 | /** |
||
57 | * @param SamlMessage $message |
||
58 | * @param AbstractProvider $provider |
||
59 | * @return HTTPPost|HTTPRedirect |
||
60 | */ |
||
61 | protected static function determineSendBinding(SamlMessage $message, AbstractProvider $provider) |
||
82 | |||
83 | /** |
||
84 | * @param SamlMessage $message |
||
|
|||
85 | * @param AbstractProvider $provider |
||
86 | * @return \SAML2\XML\md\IndexedEndpointType|null |
||
87 | */ |
||
88 | protected static function getSLOEndpoint(AbstractProvider $provider) |
||
100 | } |
||
101 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.