| 1 | <?php |
||
| 13 | class OtoLayerService { |
||
| 14 | |||
| 15 | private $mapper; |
||
| 16 | /** |
||
| 17 | * @param string $appName |
||
|
|
|||
| 18 | * @param IRequest $request an instance of the request |
||
| 19 | * @param OtoLayerMapper $mapper the dbo mapper |
||
| 20 | */ |
||
| 21 | public function __construct(OtoLayerMapper $mapper){ |
||
| 24 | /** |
||
| 25 | * @NoCSRFRequired |
||
| 26 | * |
||
| 27 | * @throws \OCP\AppFramework\Db\DoesNotExistException if not found |
||
| 28 | * @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException if more than one result |
||
| 29 | * @param integer $otoLayerId |
||
| 30 | * @param string $password |
||
| 31 | */ |
||
| 32 | public function passwordCheck($otoLayerId, $password){ |
||
| 36 | |||
| 37 | public function deleteLayer($otoLayerId){ |
||
| 40 | |||
| 41 | public function deleteBySourceId($sourceId,$userId){ |
||
| 44 | |||
| 45 | public function findUserLayers($userId){ |
||
| 48 | } |
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.