@@ -35,7 +35,7 @@ |
||
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | - * @param $fileName |
|
| 38 | + * @param string $fileName |
|
| 39 | 39 | * @param string $prompt |
| 40 | 40 | * |
| 41 | 41 | * @return bool |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | * Check if route exists. |
| 147 | 147 | * |
| 148 | 148 | * @param $link |
| 149 | - * @return mixed |
|
| 149 | + * @return boolean |
|
| 150 | 150 | */ |
| 151 | 151 | protected function routeExists($link) |
| 152 | 152 | { |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | * Check if web route exists. |
| 161 | 161 | * |
| 162 | 162 | * @param $link |
| 163 | - * @return mixed |
|
| 163 | + * @return boolean |
|
| 164 | 164 | */ |
| 165 | 165 | protected function webRouteExists($link) |
| 166 | 166 | { |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | /** |
| 193 | 193 | * Remove duplicated trailing slashes. |
| 194 | 194 | * |
| 195 | - * @param $link |
|
| 195 | + * @param string $link |
|
| 196 | 196 | * @return mixed |
| 197 | 197 | */ |
| 198 | 198 | protected function removeDuplicatedTrailingSlashes($link) |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | * Check if api route exists. |
| 205 | 205 | * |
| 206 | 206 | * @param $link |
| 207 | - * @return mixed |
|
| 207 | + * @return boolean |
|
| 208 | 208 | */ |
| 209 | 209 | protected function apiRouteExists($link) |
| 210 | 210 | { |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | /** |
| 215 | 215 | * Crete tmp file with route to add. |
| 216 | 216 | * |
| 217 | - * @return mixed |
|
| 217 | + * @return resource |
|
| 218 | 218 | */ |
| 219 | 219 | protected function createTmpFileWithRoute() |
| 220 | 220 | { |
@@ -226,7 +226,7 @@ discard block |
||
| 226 | 226 | /** |
| 227 | 227 | * Get path from file resource. |
| 228 | 228 | * |
| 229 | - * @param $tmpfile |
|
| 229 | + * @param resource $tmpfile |
|
| 230 | 230 | * @return mixed |
| 231 | 231 | */ |
| 232 | 232 | protected function getPath($tmpfile) |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | /** |
| 238 | 238 | * Get route code to insert depending on type. |
| 239 | 239 | * |
| 240 | - * @return mixed |
|
| 240 | + * @return string |
|
| 241 | 241 | */ |
| 242 | 242 | protected function getRouteCode() |
| 243 | 243 | { |
@@ -378,8 +378,8 @@ discard block |
||
| 378 | 378 | /** |
| 379 | 379 | * Add method to controller. |
| 380 | 380 | * |
| 381 | - * @param $controller |
|
| 382 | - * @param $controllerMethod * |
|
| 381 | + * @param string $controller |
|
| 382 | + * @param string $controllerMethod * |
|
| 383 | 383 | */ |
| 384 | 384 | protected function addMethodToController($controller, $controllerMethod) |
| 385 | 385 | { |
@@ -392,7 +392,7 @@ discard block |
||
| 392 | 392 | * Crete tmp file with route to add. |
| 393 | 393 | * |
| 394 | 394 | * @param $controllerMethod |
| 395 | - * @return mixed |
|
| 395 | + * @return resource |
|
| 396 | 396 | */ |
| 397 | 397 | protected function createTmpFileWithMethod($controllerMethod) |
| 398 | 398 | { |
@@ -405,7 +405,7 @@ discard block |
||
| 405 | 405 | * Get method code. |
| 406 | 406 | * |
| 407 | 407 | * @param $controllerMethod |
| 408 | - * @return mixed |
|
| 408 | + * @return string |
|
| 409 | 409 | */ |
| 410 | 410 | protected function getMethodCode($controllerMethod) |
| 411 | 411 | { |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | * Get the response for a failed password reset link. |
| 66 | 66 | * |
| 67 | 67 | * @param Request $request |
| 68 | - * @param $response |
|
| 68 | + * @param string $response |
|
| 69 | 69 | * @return mixed |
| 70 | 70 | */ |
| 71 | 71 | protected function sendResetLinkFailedResponse(Request $request, $response) |
@@ -7,9 +7,6 @@ |
||
| 7 | 7 | |
| 8 | 8 | namespace App\Http\Controllers; |
| 9 | 9 | |
| 10 | -use App\Http\Requests; |
|
| 11 | -use Illuminate\Http\Request; |
|
| 12 | - |
|
| 13 | 10 | /** |
| 14 | 11 | * Class HomeController |
| 15 | 12 | * @package App\Http\Controllers |
@@ -4,9 +4,9 @@ |
||
| 4 | 4 | |
| 5 | 5 | use App\Http\Controllers\Controller; |
| 6 | 6 | use Illuminate\Foundation\Auth\ResetsPasswords; |
| 7 | +use Illuminate\Http\JsonResponse; |
|
| 7 | 8 | use Illuminate\Http\Request; |
| 8 | 9 | use Illuminate\Support\Facades\Password; |
| 9 | -use Illuminate\Http\JsonResponse; |
|
| 10 | 10 | |
| 11 | 11 | class ResetPasswordController extends Controller |
| 12 | 12 | { |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | /** |
| 106 | 106 | * Crete tmp file with route to add. |
| 107 | 107 | * |
| 108 | - * @return mixed |
|
| 108 | + * @return resource |
|
| 109 | 109 | */ |
| 110 | 110 | protected function createTmpFileWithMenu() |
| 111 | 111 | { |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | /** |
| 118 | 118 | * Get route code to insert depending on type. |
| 119 | 119 | * |
| 120 | - * @return mixed |
|
| 120 | + * @return string |
|
| 121 | 121 | */ |
| 122 | 122 | protected function getMenuCode() |
| 123 | 123 | { |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | /** |
| 138 | 138 | * Get path from file resource. |
| 139 | 139 | * |
| 140 | - * @param $tmpfile |
|
| 140 | + * @param resource $tmpfile |
|
| 141 | 141 | * @return mixed |
| 142 | 142 | */ |
| 143 | 143 | protected function getPath($tmpfile) |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Acacha\AdminLTETemplateLaravel\Console; |
| 4 | 4 | |
| 5 | -use Illuminate\Console\Command; |
|
| 6 | 5 | use App\Models\User; |
| 6 | +use Illuminate\Console\Command; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * Class AdminLTEAdmin. |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use Illuminate\Database\Seeder; |
|
| 4 | 3 | use App\Models\User; |
| 4 | +use Illuminate\Database\Seeder; |
|
| 5 | 5 | |
| 6 | 6 | /** |
| 7 | 7 | * Class AdminUserSeeder |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Http\Controllers\Auth; |
| 4 | 4 | |
| 5 | -use App\Models\User; |
|
| 6 | -use Validator; |
|
| 7 | 5 | use App\Http\Controllers\Controller; |
| 6 | +use App\Models\User; |
|
| 8 | 7 | use Illuminate\Foundation\Auth\RegistersUsers; |
| 8 | +use Validator; |
|
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * Class RegisterController |