| 1 | <?php namespace Spatie\CollectionMacros\Macros; |
||
| 6 | class SimplePaginate |
||
| 7 | { |
||
| 8 | /* |
||
| 9 | * Paginate the collection into a simple paginator |
||
| 10 | * |
||
| 11 | * @param int $perPage |
||
|
|
|||
| 12 | * @param int $page |
||
| 13 | * @param string $pageName |
||
| 14 | * |
||
| 15 | * @return \Illuminate\Contracts\Pagination\Paginator |
||
| 16 | */ |
||
| 17 | public function simplePaginate() |
||
| 37 | } |
||
| 38 |
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.