1 | <?php namespace Cerbero\Auth\Http\Controllers; |
||
15 | class AuthController extends Controller { |
||
16 | |||
17 | /** |
||
18 | * @author Andrea Marco Sartori |
||
19 | * @var Cerbero\Auth\Services\Dispatcher\DispatcherInterface $bus Bus dispatcher. |
||
20 | */ |
||
21 | protected $bus; |
||
22 | |||
23 | /** |
||
24 | * @author Andrea Marco Sartori |
||
25 | * @var array $loginPipes List of pipes for the login process. |
||
26 | */ |
||
27 | protected $loginPipes = ['DispatchEvent', 'Throttle']; |
||
28 | |||
29 | /** |
||
30 | * @author Andrea Marco Sartori |
||
31 | * @var array $logoutPipes List of pipes for the logout process. |
||
32 | */ |
||
33 | protected $logoutPipes = ['DispatchEvent']; |
||
34 | |||
35 | /** |
||
36 | * @author Andrea Marco Sartori |
||
37 | * @var array $registerPipes List of pipes for the register process. |
||
38 | */ |
||
39 | protected $registerPipes = ['DispatchEvent', 'Login', 'Notify', 'Hash']; |
||
40 | |||
41 | /** |
||
42 | * @author Andrea Marco Sartori |
||
43 | * @var array $recoverPipes List of pipes for the password recover process. |
||
44 | */ |
||
45 | protected $recoverPipes = ['DispatchEvent', 'Notify', 'Store']; |
||
46 | |||
47 | /** |
||
48 | * @author Andrea Marco Sartori |
||
49 | * @var array $resetPipes List of pipes for the password reset process. |
||
50 | */ |
||
51 | protected $resetPipes = ['DispatchEvent']; |
||
52 | |||
53 | /** |
||
54 | * Set the dependencies. |
||
55 | * |
||
56 | * @author Andrea Marco Sartori |
||
57 | * @param Cerbero\Auth\Services\Dispatcher\DispatcherInterface $bus |
||
58 | * @return void |
||
59 | */ |
||
60 | public function __construct(DispatcherInterface $bus) |
||
64 | |||
65 | /** |
||
66 | * Display the login page. |
||
67 | * |
||
68 | * @author Andrea Marco Sartori |
||
69 | * @return Illuminate\Http\Response |
||
70 | */ |
||
71 | public function showLogin() |
||
77 | |||
78 | /** |
||
79 | * Log the user in. |
||
80 | * |
||
81 | * @author Andrea Marco Sartori |
||
82 | * @return Illuminate\Http\RedirectResponse |
||
83 | */ |
||
84 | public function login(LoginRequest $request) |
||
90 | |||
91 | /** |
||
92 | * Retrieve the pipes of a given process. |
||
93 | * |
||
94 | * @author Andrea Marco Sartori |
||
95 | * @param string $process |
||
96 | * @return array |
||
97 | */ |
||
98 | protected function pipesOf($process) |
||
108 | |||
109 | /** |
||
110 | * Log the user out. |
||
111 | * |
||
112 | * @author Andrea Marco Sartori |
||
113 | * @return Illuminate\Http\RedirectResponse |
||
114 | */ |
||
115 | public function logout() |
||
121 | |||
122 | /** |
||
123 | * Display the registration page. |
||
124 | * |
||
125 | * @author Andrea Marco Sartori |
||
126 | * @return Illuminate\Http\Response |
||
127 | */ |
||
128 | public function showRegister() |
||
134 | |||
135 | /** |
||
136 | * Register the user. |
||
137 | * |
||
138 | * @author Andrea Marco Sartori |
||
139 | * @return Illuminate\Http\RedirectResponse |
||
140 | */ |
||
141 | public function register(RegisterRequest $request) |
||
147 | |||
148 | /** |
||
149 | * Display the recover page. |
||
150 | * |
||
151 | * @author Andrea Marco Sartori |
||
152 | * @return Illuminate\Http\Response |
||
153 | */ |
||
154 | public function showRecover() |
||
160 | |||
161 | /** |
||
162 | * Remember the user password. |
||
163 | * |
||
164 | * @author Andrea Marco Sartori |
||
165 | * @return Illuminate\Http\RedirectResponse |
||
166 | */ |
||
167 | public function recover(RecoverRequest $request) |
||
173 | |||
174 | /** |
||
175 | * Display the reset page. |
||
176 | * |
||
177 | * @author Andrea Marco Sartori |
||
178 | * @return Illuminate\Http\Response |
||
179 | */ |
||
180 | public function showReset($token) |
||
186 | |||
187 | /** |
||
188 | * Reset the user password. |
||
189 | * |
||
190 | * @author Andrea Marco Sartori |
||
191 | * @return Illuminate\Http\RedirectResponse |
||
192 | */ |
||
193 | public function reset(ResetRequest $request, $token) |
||
199 | |||
200 | } |
||
201 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..