| 1 | <?php |
||
| 10 | class SimplePieSetUp |
||
| 11 | { |
||
| 12 | protected $feed; |
||
| 13 | |||
| 14 | public function __construct() |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Load the config array. |
||
| 21 | * |
||
| 22 | * @param array $config |
||
|
|
|||
| 23 | * |
||
| 24 | * @return \SimplePie |
||
| 25 | */ |
||
| 26 | public function loadConfig() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Init SimplePie. |
||
| 43 | */ |
||
| 44 | public function init() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Set the feed url. |
||
| 51 | * |
||
| 52 | * @param $url |
||
| 53 | */ |
||
| 54 | public function setRSSFeedUrl($url) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Wrapper for MIME-types. |
||
| 61 | */ |
||
| 62 | public function handleContentType() |
||
| 66 | } |
||
| 67 |
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.