@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | use App\User; |
| 4 | 4 | use Illuminate\Database\Eloquent\SoftDeletes; |
| 5 | -use Illuminate\Notifications\Notifiable; |
|
| 6 | 5 | use Laravel\Passport\HasApiTokens; |
| 7 | 6 | |
| 8 | 7 | class AclUser extends User { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | namespace App\Modules\Core\Http\Controllers; |
| 3 | 3 | |
| 4 | 4 | use App\Http\Controllers\Controller; |
| 5 | -use Illuminate\Http\Request; |
|
| 6 | 5 | |
| 7 | 6 | class ApiDocumentController extends Controller |
| 8 | 7 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * Get the notification's delivery channels. |
| 29 | 29 | * |
| 30 | 30 | * @param mixed $notifiable |
| 31 | - * @return array |
|
| 31 | + * @return string[] |
|
| 32 | 32 | */ |
| 33 | 33 | public function via($notifiable) |
| 34 | 34 | { |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Illuminate\Notifications\Notification; |
| 7 | 7 | use Illuminate\Contracts\Queue\ShouldQueue; |
| 8 | 8 | use Illuminate\Notifications\Messages\MailMessage; |
| 9 | -use Illuminate\Notifications\Messages\BroadcastMessage; |
|
| 10 | 9 | |
| 11 | 10 | class ResetPassword extends Notification implements ShouldQueue |
| 12 | 11 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * Get the notification's delivery channels. |
| 29 | 29 | * |
| 30 | 30 | * @param mixed $notifiable |
| 31 | - * @return array |
|
| 31 | + * @return string[] |
|
| 32 | 32 | */ |
| 33 | 33 | public function via($notifiable) |
| 34 | 34 | { |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Illuminate\Notifications\Notification; |
| 7 | 7 | use Illuminate\Contracts\Queue\ShouldQueue; |
| 8 | 8 | use Illuminate\Notifications\Messages\MailMessage; |
| 9 | -use Illuminate\Notifications\Messages\BroadcastMessage; |
|
| 10 | 9 | |
| 11 | 10 | class ConfirmEmail extends Notification implements ShouldQueue |
| 12 | 11 | { |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | * |
| 156 | 156 | * @param array $credentials |
| 157 | 157 | * @param boolean $skipConfirmEmail |
| 158 | - * @return array |
|
| 158 | + * @return boolean |
|
| 159 | 159 | */ |
| 160 | 160 | public function register($credentials, $skipConfirmEmail = false) |
| 161 | 161 | { |
@@ -246,7 +246,7 @@ discard block |
||
| 246 | 246 | * Reset the given user's password. |
| 247 | 247 | * |
| 248 | 248 | * @param array $credentials |
| 249 | - * @return array |
|
| 249 | + * @return string|null |
|
| 250 | 250 | */ |
| 251 | 251 | public function resetPassword($credentials) |
| 252 | 252 | { |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * |
| 33 | 33 | * @param array $relations |
| 34 | 34 | * @param string $sortBy |
| 35 | - * @param boolean $desc |
|
| 35 | + * @param integer $desc |
|
| 36 | 36 | * @param array $columns |
| 37 | 37 | * @return collection |
| 38 | 38 | */ |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | * @param integer $perPage |
| 51 | 51 | * @param array $relations |
| 52 | 52 | * @param string $sortBy |
| 53 | - * @param boolean $desc |
|
| 53 | + * @param integer $desc |
|
| 54 | 54 | * @param array $columns |
| 55 | 55 | * @return collection |
| 56 | 56 | */ |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | * @param integer $perPage |
| 165 | 165 | * @param array $relations |
| 166 | 166 | * @param string $sortBy |
| 167 | - * @param boolean $desc |
|
| 167 | + * @param integer $desc |
|
| 168 | 168 | * @param array $columns |
| 169 | 169 | * @return collection |
| 170 | 170 | */ |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | * @param integer $perPage |
| 183 | 183 | * @param array $relations |
| 184 | 184 | * @param string $sortBy |
| 185 | - * @param boolean $desc |
|
| 185 | + * @param integer $desc |
|
| 186 | 186 | * @param array $columns |
| 187 | 187 | * @return collection |
| 188 | 188 | */ |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | * Save the given model to the storage. |
| 199 | 199 | * |
| 200 | 200 | * @param array $data |
| 201 | - * @return mixed |
|
| 201 | + * @return boolean |
|
| 202 | 202 | */ |
| 203 | 203 | public function save(array $data) |
| 204 | 204 | { |
@@ -517,7 +517,7 @@ discard block |
||
| 517 | 517 | * id. |
| 518 | 518 | * |
| 519 | 519 | * @param integer $id |
| 520 | - * @param array $relations |
|
| 520 | + * @param string[] $relations |
|
| 521 | 521 | * @param array $columns |
| 522 | 522 | * @return object |
| 523 | 523 | */ |
@@ -533,7 +533,7 @@ discard block |
||
| 533 | 533 | * @param array $conditions array of conditions |
| 534 | 534 | * @param array $relations |
| 535 | 535 | * @param string $sortBy |
| 536 | - * @param boolean $desc |
|
| 536 | + * @param integer $desc |
|
| 537 | 537 | * @param array $columns |
| 538 | 538 | * @return collection |
| 539 | 539 | */ |
@@ -565,7 +565,7 @@ discard block |
||
| 565 | 565 | * @param array $conditions array of conditions |
| 566 | 566 | * @param integer $perPage |
| 567 | 567 | * @param string $sortBy |
| 568 | - * @param boolean $desc |
|
| 568 | + * @param integer $desc |
|
| 569 | 569 | * @param array $columns |
| 570 | 570 | * @return collection |
| 571 | 571 | */ |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | * based on the docblock. |
| 125 | 125 | * |
| 126 | 126 | * @param array &$route |
| 127 | - * @param object $reflectionMethod |
|
| 127 | + * @param \ReflectionMethod $reflectionMethod |
|
| 128 | 128 | * @return void |
| 129 | 129 | */ |
| 130 | 130 | protected function processDocBlock(&$route, $reflectionMethod) |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | * Generate post body for the given route. |
| 149 | 149 | * |
| 150 | 150 | * @param array &$route |
| 151 | - * @param object $reflectionMethod |
|
| 151 | + * @param \ReflectionMethod $reflectionMethod |
|
| 152 | 152 | * @param array $validationRules |
| 153 | 153 | * @return void |
| 154 | 154 | */ |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | * Register the given device to the logged in user. |
| 22 | 22 | * |
| 23 | 23 | * @param array $data |
| 24 | - * @return void |
|
| 24 | + * @return boolean |
|
| 25 | 25 | */ |
| 26 | 26 | public function registerDevice($data) |
| 27 | 27 | { |