@@ -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 | */ |
@@ -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 | { |
@@ -34,19 +34,19 @@ |
||
| 34 | 34 | 'dashboard' => 'Instrumentu panelis', |
| 35 | 35 | 'handcrafted_by' => 'Handcrafted by', |
| 36 | 36 | 'powered_by' => 'Powered by', |
| 37 | - 'my_account' => 'Mans konts', |
|
| 38 | - 'update_account_info' => 'Konta rediģēšana', |
|
| 39 | - 'save' => 'Saglabāt', |
|
| 40 | - 'cancel' => 'Atcelt', |
|
| 41 | - 'error' => 'Kļūda', |
|
| 42 | - 'success' => 'Darbība veiksmīga', |
|
| 43 | - 'old_password_incorrect' => 'Vecā parole nav pareiza.', |
|
| 44 | - 'password_dont_match' => 'Paroles nesakrīt.', |
|
| 45 | - 'password_empty' => 'Pārliecinies vai abi paroļu lauki ir aizpildīti.', |
|
| 46 | - 'password_updated' => 'Parole nomainīta.', |
|
| 47 | - 'account_updated' => 'Konta rediģēšana veiksmīga.', |
|
| 48 | - 'unknown_error' => 'Nezināma kļūda. Lūdzu mēģini vēlreiz.', |
|
| 49 | - 'error_saving' => 'Kļūda saglabājot. Lūdzu mēģini vēlreiz.', |
|
| 37 | + 'my_account' => 'Mans konts', |
|
| 38 | + 'update_account_info' => 'Konta rediģēšana', |
|
| 39 | + 'save' => 'Saglabāt', |
|
| 40 | + 'cancel' => 'Atcelt', |
|
| 41 | + 'error' => 'Kļūda', |
|
| 42 | + 'success' => 'Darbība veiksmīga', |
|
| 43 | + 'old_password_incorrect' => 'Vecā parole nav pareiza.', |
|
| 44 | + 'password_dont_match' => 'Paroles nesakrīt.', |
|
| 45 | + 'password_empty' => 'Pārliecinies vai abi paroļu lauki ir aizpildīti.', |
|
| 46 | + 'password_updated' => 'Parole nomainīta.', |
|
| 47 | + 'account_updated' => 'Konta rediģēšana veiksmīga.', |
|
| 48 | + 'unknown_error' => 'Nezināma kļūda. Lūdzu mēģini vēlreiz.', |
|
| 49 | + 'error_saving' => 'Kļūda saglabājot. Lūdzu mēģini vēlreiz.', |
|
| 50 | 50 | |
| 51 | 51 | 'password_reset' => [ |
| 52 | 52 | 'greeting' => 'Labdien!', |