| 1 | <?php |
||
| 16 | class Controller extends PortApiController |
||
| 17 | { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param \App\Containers\Application\UI\API\Requests\GenerateApplicationTokenRequest $request |
||
| 21 | * @param \App\Containers\Application\Actions\GenerateApplicationTokenAction $action |
||
| 22 | * |
||
| 23 | * @return \Dingo\Api\Http\Response |
||
| 24 | */ |
||
| 25 | public function createApplication(CreateApplicationRequest $request, CreateApplicationWithTokenAction $action) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param \App\Containers\Application\Actions\ListAllAppsAction $action |
||
| 34 | * |
||
| 35 | * @return \Dingo\Api\Http\Response |
||
| 36 | */ |
||
| 37 | public function getUserApplications(ListAllAppsAction $action) |
||
| 43 | |||
| 44 | } |
||
| 45 |
Since your code implements the magic getter
_get, this function will be called for any read access on an undefined variable. You can add the@propertyannotation to your class or interface to document the existence of this variable.If the property has read access only, you can use the @property-read annotation instead.
Of course, you may also just have mistyped another name, in which case you should fix the error.
See also the PhpDoc documentation for @property.