| 1 | <?php |
||
| 13 | class OtoConfirmationService { |
||
| 14 | |||
| 15 | private $mapper; |
||
| 16 | /** |
||
| 17 | * @NoAdminRequired |
||
| 18 | * @param string $appName |
||
|
|
|||
| 19 | * @param IRequest $request an instance of the request |
||
| 20 | * @param OtoConfirmationMapper $mapper the db mapper |
||
| 21 | */ |
||
| 22 | public function __construct(OtoConfirmationMapper $mapper){ |
||
| 25 | /** |
||
| 26 | * |
||
| 27 | * @NoAdminRequired |
||
| 28 | * @NoCSRFRequired |
||
| 29 | * |
||
| 30 | * @throws \OCP\AppFramework\Db\DoesNotExistException if not found |
||
| 31 | * @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException if more than one result |
||
| 32 | * @param integer $otoLayerId |
||
| 33 | * @param string $password |
||
| 34 | */ |
||
| 35 | public function getConfirmationsByUser($userId){ |
||
| 39 | /** |
||
| 40 | * @NoAdminRequired |
||
| 41 | */ |
||
| 42 | public function deleteConfirmationsByOtoLayer($otoLayerId){ |
||
| 45 | /** |
||
| 46 | * @NoAdminRequired |
||
| 47 | */ |
||
| 48 | public function deleteBySourceId($sourceId,$userId){ |
||
| 51 | } |
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.