| 1 | <?php |
||
| 16 | abstract class AbstractAdapter extends AbstractPlugin |
||
| 17 | { |
||
| 18 | |||
| 19 | public function __invoke($api) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param mixed $api |
||
| 26 | * @param Hybrid_Provider_Adapter $hauthAdapter |
||
| 27 | */ |
||
| 28 | public function init($api, Hybrid_Provider_Adapter $hauthAdapter) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param string $network |
||
|
|
|||
| 33 | * @return \Auth\Entity\SocialProfiles\ProfileInterface|bool |
||
| 34 | */ |
||
| 35 | public function fetch($api) |
||
| 47 | |||
| 48 | abstract protected function queryApi($api); |
||
| 49 | |||
| 50 | protected function getProfile() |
||
| 57 | |||
| 58 | protected function getProfileClass() |
||
| 67 | } |
||
| 68 |
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
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.