| @@ -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 { | 
| @@ -61,8 +61,8 @@ discard block | ||
| 61 | 61 | /** | 
| 62 | 62 | * Check if the logged in user has the given group. | 
| 63 | 63 | * | 
| 64 | - * @param string $groupName | |
| 65 | - * @param integer $userId | |
| 64 | + * @param integer $user | |
| 65 | + * @param string[] $groups | |
| 66 | 66 | * @return boolean | 
| 67 | 67 | */ | 
| 68 | 68 | public function hasGroup($groups, $user = false) | 
| @@ -244,7 +244,7 @@ discard block | ||
| 244 | 244 | * Reset the given user's password. | 
| 245 | 245 | * | 
| 246 | 246 | * @param array $credentials | 
| 247 | - * @return array | |
| 247 | + * @return string|null | |
| 248 | 248 | */ | 
| 249 | 249 | public function resetPassword($credentials) | 
| 250 | 250 |      { | 
| @@ -361,7 +361,6 @@ discard block | ||
| 361 | 361 | /** | 
| 362 | 362 | * Save the given data to the logged in user. | 
| 363 | 363 | * | 
| 364 | - * @param array $credentials | |
| 365 | 364 | * @return void | 
| 366 | 365 | */ | 
| 367 | 366 | public function saveProfile($data) | 
| @@ -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 object | |
| 201 | + * @return boolean | |
| 202 | 202 | */ | 
| 203 | 203 | public function save(array $data) | 
| 204 | 204 |      { | 
| @@ -516,7 +516,7 @@ discard block | ||
| 516 | 516 | * id. | 
| 517 | 517 | * | 
| 518 | 518 | * @param integer $id | 
| 519 | - * @param array $relations | |
| 519 | + * @param string[] $relations | |
| 520 | 520 | * @param array $columns | 
| 521 | 521 | * @return object | 
| 522 | 522 | */ | 
| @@ -532,7 +532,7 @@ discard block | ||
| 532 | 532 | * @param array $conditions array of conditions | 
| 533 | 533 | * @param array $relations | 
| 534 | 534 | * @param string $sortBy | 
| 535 | - * @param boolean $desc | |
| 535 | + * @param integer $desc | |
| 536 | 536 | * @param array $columns | 
| 537 | 537 | * @return collection | 
| 538 | 538 | */ | 
| @@ -564,7 +564,7 @@ discard block | ||
| 564 | 564 | * @param array $conditions array of conditions | 
| 565 | 565 | * @param integer $perPage | 
| 566 | 566 | * @param string $sortBy | 
| 567 | - * @param boolean $desc | |
| 567 | + * @param integer $desc | |
| 568 | 568 | * @param array $columns | 
| 569 | 569 | * @return collection | 
| 570 | 570 | */ | 
| @@ -123,6 +123,7 @@ discard block | ||
| 123 | 123 | * | 
| 124 | 124 | * @param array &$route | 
| 125 | 125 | * @param object $reflectionMethod] | 
| 126 | + * @param \ReflectionMethod $reflectionMethod | |
| 126 | 127 | * @return void | 
| 127 | 128 | */ | 
| 128 | 129 | protected function processDocBlock(&$route, $reflectionMethod) | 
| @@ -145,7 +146,7 @@ discard block | ||
| 145 | 146 | * Generate post body for the given route. | 
| 146 | 147 | * | 
| 147 | 148 | * @param array &$route | 
| 148 | - * @param object $reflectionMethod | |
| 149 | + * @param \ReflectionMethod $reflectionMethod | |
| 149 | 150 | * @param array $validationRules | 
| 150 | 151 | * @return void | 
| 151 | 152 | */ | 
| @@ -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 |  { | 
| @@ -21,7 +21,7 @@ | ||
| 21 | 21 | * Register the given device to the logged in user. | 
| 22 | 22 | * | 
| 23 | 23 | * @param string $data | 
| 24 | - * @return void | |
| 24 | + * @return boolean | |
| 25 | 25 | */ | 
| 26 | 26 | public function registerDevice($data) | 
| 27 | 27 |      { |