| 1 | <?php |
||
| 15 | class Controller extends PortWebController |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
| 20 | */ |
||
| 21 | public function showLoginPage() |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param \App\Containers\Authentication\UI\WEB\Requests\LoginRequest $request |
||
| 28 | * @param \App\Containers\Authentication\Actions\WebAdminLoginAction $action |
||
| 29 | * |
||
| 30 | * @return $this|\Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
| 31 | */ |
||
| 32 | public function loginAdmin(LoginRequest $request, WebAdminLoginAction $action) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
| 45 | */ |
||
| 46 | public function showDashboardPage() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param \App\Containers\Authentication\Actions\WebLogoutAction $action |
||
| 53 | * |
||
| 54 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
| 55 | */ |
||
| 56 | public function logoutAdmin(WebLogoutAction $action) |
||
| 62 | |||
| 63 | |||
| 64 | } |
||
| 65 |
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.