| 1 | <?php |
||
| 16 | class Controller extends PortApiController |
||
| 17 | { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param \App\Containers\Email\UI\API\Requests\SetEmailRequest $request |
||
| 21 | * @param \App\Containers\Email\Actions\SetUserEmailWithConfirmationAction $action |
||
| 22 | * |
||
| 23 | * @return \Dingo\Api\Http\Response |
||
| 24 | */ |
||
| 25 | public function setUserEmailController(SetUserEmailRequest $request, SetUserEmailWithConfirmationAction $action) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param \App\Containers\Email\UI\API\Requests\SetVisitorEmailRequest $request |
||
| 36 | * @param \App\Containers\Email\Actions\SetVisitorEmailAction $action |
||
| 37 | * |
||
| 38 | * @return \Dingo\Api\Http\Response |
||
| 39 | */ |
||
| 40 | public function setVisitorEmailController(SetVisitorEmailRequest $request, SetVisitorEmailAction $action) |
||
| 48 | } |
||
| 49 |
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.