@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | * |
| 62 | 62 | * @param array $data |
| 63 | 63 | * |
| 64 | - * @return User |
|
| 64 | + * @return \Illuminate\Contracts\Auth\Authenticatable |
|
| 65 | 65 | */ |
| 66 | 66 | protected function create(array $data) |
| 67 | 67 | { |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * |
| 98 | 98 | * @param \Illuminate\Http\Request $request |
| 99 | 99 | * |
| 100 | - * @return \Illuminate\Http\Response |
|
| 100 | + * @return \Illuminate\Http\RedirectResponse |
|
| 101 | 101 | */ |
| 102 | 102 | public function register(Request $request) |
| 103 | 103 | { |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | * |
| 72 | 72 | * @param \Illuminate\Http\Request $request |
| 73 | 73 | * |
| 74 | - * @return \Illuminate\Http\Response |
|
| 74 | + * @return \Illuminate\Http\RedirectResponse |
|
| 75 | 75 | */ |
| 76 | 76 | public function logout(Request $request) |
| 77 | 77 | { |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | /** |
| 107 | 107 | * Write text to the screen for the user to see. |
| 108 | 108 | * |
| 109 | - * @param [string] $type line, info, comment, question, error |
|
| 109 | + * @param string $type line, info, comment, question, error |
|
| 110 | 110 | * @param [string] $content |
| 111 | 111 | */ |
| 112 | 112 | public function echo($type, $content) |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | * Appends the configured backpack prefix and returns |
| 6 | 6 | * the URL using the standard Laravel helpers. |
| 7 | 7 | * |
| 8 | - * @param $path |
|
| 8 | + * @param string $path |
|
| 9 | 9 | * |
| 10 | 10 | * @return string |
| 11 | 11 | */ |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Illuminate\Routing\Router; |
| 6 | 6 | use Illuminate\Support\ServiceProvider; |
| 7 | -use Route; |
|
| 8 | 7 | |
| 9 | 8 | class BaseServiceProvider extends ServiceProvider |
| 10 | 9 | { |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * Get the path the user should be redirected to after password reset. |
| 29 | 29 | * |
| 30 | - * @param \Illuminate\Http\Request $request |
|
| 31 | 30 | * |
| 32 | 31 | * @return string |
| 33 | 32 | */ |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | /** |
| 34 | 34 | * Execute the console command. |
| 35 | 35 | * |
| 36 | - * @return bool|null |
|
| 36 | + * @return false|null |
|
| 37 | 37 | */ |
| 38 | 38 | public function handle() |
| 39 | 39 | { |
@@ -71,9 +71,8 @@ discard block |
||
| 71 | 71 | * Replace the User model, if it was moved to App\Models\User. |
| 72 | 72 | * |
| 73 | 73 | * @param string $stub |
| 74 | - * @param string $name |
|
| 75 | 74 | * |
| 76 | - * @return $this |
|
| 75 | + * @return string |
|
| 77 | 76 | */ |
| 78 | 77 | protected function makeReplacements(&$stub) |
| 79 | 78 | { |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Answer to unauthorized access request. |
| 31 | 31 | * |
| 32 | - * @param [type] $request [description] |
|
| 32 | + * @param \Illuminate\Http\Request $request [description] |
|
| 33 | 33 | * |
| 34 | 34 | * @return [type] [description] |
| 35 | 35 | */ |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | /** |
| 34 | 34 | * Execute the console command. |
| 35 | 35 | * |
| 36 | - * @return bool|null |
|
| 36 | + * @return false|null |
|
| 37 | 37 | */ |
| 38 | 38 | public function handle() |
| 39 | 39 | { |
@@ -71,9 +71,8 @@ discard block |
||
| 71 | 71 | * Replace the User model, if it was moved to App\Models\User. |
| 72 | 72 | * |
| 73 | 73 | * @param string $stub |
| 74 | - * @param string $name |
|
| 75 | 74 | * |
| 76 | - * @return $this |
|
| 75 | + * @return string |
|
| 77 | 76 | */ |
| 78 | 77 | protected function makeReplacements(&$stub) |
| 79 | 78 | { |