@@ -113,6 +113,9 @@ |
||
113 | 113 | return 'UIObject_'.$postfix; |
114 | 114 | } |
115 | 115 | |
116 | + /** |
|
117 | + * @param string $property |
|
118 | + */ |
|
116 | 119 | protected function getPropertyValue(UIObjectHandler $handler, $property) |
117 | 120 | { |
118 | 121 | $refl = new \ReflectionObject($handler); |
@@ -82,7 +82,7 @@ |
||
82 | 82 | * |
83 | 83 | * @param array $args to render parameter array |
84 | 84 | * |
85 | - * @return mixed |
|
85 | + * @return m\MockInterface |
|
86 | 86 | */ |
87 | 87 | public function render(array $args) |
88 | 88 | { |
@@ -315,6 +315,9 @@ |
||
315 | 315 | ]; |
316 | 316 | } |
317 | 317 | |
318 | + /** |
|
319 | + * @param string $methodName |
|
320 | + */ |
|
318 | 321 | private function invokeMethod(&$object, $methodName, array $parameters = array()) |
319 | 322 | { |
320 | 323 | $reflection = new \ReflectionClass(get_class($object)); |
@@ -58,7 +58,7 @@ |
||
58 | 58 | /** |
59 | 59 | * get config entity |
60 | 60 | * |
61 | - * @return m\MockInterface|\Xpressengine\Config\ConfigEntity |
|
61 | + * @return m\MockInterface |
|
62 | 62 | */ |
63 | 63 | private function getConfigEntity() |
64 | 64 | { |
@@ -315,6 +315,9 @@ |
||
315 | 315 | ]; |
316 | 316 | } |
317 | 317 | |
318 | + /** |
|
319 | + * @param string $methodName |
|
320 | + */ |
|
318 | 321 | private function invokeMethod(&$object, $methodName, array $parameters = array()) |
319 | 322 | { |
320 | 323 | $reflection = new \ReflectionClass(get_class($object)); |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * |
92 | 92 | * @param \Illuminate\Http\Request $request |
93 | 93 | * |
94 | - * @return \Illuminate\Http\Response |
|
94 | + * @return \Illuminate\Http\RedirectResponse |
|
95 | 95 | */ |
96 | 96 | public function postRegister(Request $request) |
97 | 97 | { |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | * |
213 | 213 | * @param \Illuminate\Http\Request $request |
214 | 214 | * |
215 | - * @return \Illuminate\Http\Response |
|
215 | + * @return \Illuminate\Http\RedirectResponse |
|
216 | 216 | */ |
217 | 217 | public function postLogin(Request $request) |
218 | 218 | { |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | /** |
265 | 265 | * Log the user out of the application. |
266 | 266 | * |
267 | - * @return \Illuminate\Http\Response |
|
267 | + * @return \Illuminate\Http\RedirectResponse |
|
268 | 268 | */ |
269 | 269 | public function getLogout() |
270 | 270 | { |
@@ -311,6 +311,9 @@ discard block |
||
311 | 311 | } |
312 | 312 | } |
313 | 313 | |
314 | + /** |
|
315 | + * @param string $action |
|
316 | + */ |
|
314 | 317 | protected function checkCaptcha($action) |
315 | 318 | { |
316 | 319 | $action = ($action === 'login') ? 'common' : $action; |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | * Send a reset link to the given user. |
79 | 79 | * |
80 | 80 | * @param Request $request |
81 | - * @return Response |
|
81 | + * @return \Illuminate\Http\RedirectResponse|null |
|
82 | 82 | */ |
83 | 83 | public function postReset(Request $request) |
84 | 84 | { |
@@ -128,7 +128,6 @@ discard block |
||
128 | 128 | /** |
129 | 129 | * Display the password reset view for the given token. |
130 | 130 | * |
131 | - * @param string $token |
|
132 | 131 | * @return Response |
133 | 132 | */ |
134 | 133 | public function getPassword(Request $request) |
@@ -147,7 +146,7 @@ discard block |
||
147 | 146 | * Reset the given user's password. |
148 | 147 | * |
149 | 148 | * @param Request $request |
150 | - * @return Response |
|
149 | + * @return \Illuminate\Http\RedirectResponse |
|
151 | 150 | */ |
152 | 151 | public function postPassword(Request $request) |
153 | 152 | { |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * @param MenuConfigHandler $configHandler menu config like theme config handler |
109 | 109 | * @param MenuPermissionHandler $permissionHandler menu permission handler |
110 | 110 | * |
111 | - * @return mixed |
|
111 | + * @return RedirectResponse |
|
112 | 112 | * @throws Exception |
113 | 113 | */ |
114 | 114 | public function store( |
@@ -433,7 +433,7 @@ discard block |
||
433 | 433 | * @param MenuPermissionHandler $permissionHandler store item permission handler |
434 | 434 | * @param string $menuId where to store |
435 | 435 | * |
436 | - * @return $this|RedirectResponse |
|
436 | + * @return RedirectResponse |
|
437 | 437 | * @throws Exception |
438 | 438 | */ |
439 | 439 | public function storeItem( |
@@ -58,7 +58,7 @@ |
||
58 | 58 | /** |
59 | 59 | * Get the services provided by the provider. |
60 | 60 | * |
61 | - * @return array |
|
61 | + * @return string[] |
|
62 | 62 | */ |
63 | 63 | public function provides() |
64 | 64 | { |