| 1 | <?php namespace JobApis\JobsToMail\Jobs\Searches; |
||
| 6 | class Delete |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var string $searchId |
||
| 10 | */ |
||
| 11 | protected $searchId; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Create a new job instance. |
||
| 15 | */ |
||
| 16 | 2 | public function __construct($searchId = null) |
|
| 20 | |||
| 21 | /** |
||
| 22 | * Unsubscribe from a search by deleting it. |
||
| 23 | * |
||
| 24 | * @param SearchRepositoryInterface $users |
||
|
|
|||
| 25 | * |
||
| 26 | * @return FlashMessage |
||
| 27 | */ |
||
| 28 | 2 | public function handle(SearchRepositoryInterface $searches) |
|
| 41 | } |
||
| 42 |
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.