| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 48 | public function getYouTubeByVideoId($videoId) |
||
| 49 | { |
||
| 50 | $query = " |
||
| 51 | SELECT * |
||
| 52 | FROM `jpemeric_stream`.`youtube` |
||
| 53 | WHERE `video_id` = :video_id |
||
| 54 | LIMIT 1"; |
||
| 55 | $bindings = [ |
||
| 56 | 'video_id' => $videoId, |
||
| 57 | ]; |
||
| 58 | |||
| 59 | return $this |
||
| 60 | ->connections |
||
| 61 | ->getRead() |
||
| 62 | ->fetchOne($query, $bindings); |
||
| 63 | } |
||
| 64 | |||
| 82 |
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.