@@ -3,8 +3,6 @@ |
||
| 3 | 3 | namespace App\Listeners; |
| 4 | 4 | |
| 5 | 5 | use Illuminate\Auth\Events\Login; |
| 6 | -use Illuminate\Queue\InteractsWithQueue; |
|
| 7 | -use Illuminate\Contracts\Queue\ShouldQueue; |
|
| 8 | 6 | use Illuminate\Support\Facades\Log; |
| 9 | 7 | |
| 10 | 8 | class LogSuccessfulLogin |
@@ -3,8 +3,6 @@ |
||
| 3 | 3 | namespace App\Listeners; |
| 4 | 4 | |
| 5 | 5 | use App\Events\UserCreated; |
| 6 | -use Illuminate\Queue\InteractsWithQueue; |
|
| 7 | -use Illuminate\Contracts\Queue\ShouldQueue; |
|
| 8 | 6 | use Illuminate\Support\Facades\Log; |
| 9 | 7 | |
| 10 | 8 | class LogUserCreated |
@@ -3,8 +3,6 @@ |
||
| 3 | 3 | namespace App\Listeners; |
| 4 | 4 | |
| 5 | 5 | use App\Events\UserUpdated; |
| 6 | -use Illuminate\Queue\InteractsWithQueue; |
|
| 7 | -use Illuminate\Contracts\Queue\ShouldQueue; |
|
| 8 | 6 | use Illuminate\Support\Facades\Log; |
| 9 | 7 | |
| 10 | 8 | class LogUserUpdated |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | * @param JobPoster $jobPoster Incoming Job Poster object. |
| 35 | 35 | * @param User $manager Incoming User object. |
| 36 | 36 | * |
| 37 | - * @return void |
|
| 37 | + * @return Mailable |
|
| 38 | 38 | */ |
| 39 | 39 | public function __construct(JobPoster $jobPoster, User $manager) |
| 40 | 40 | { |
@@ -5,8 +5,6 @@ |
||
| 5 | 5 | use Illuminate\Bus\Queueable; |
| 6 | 6 | use Illuminate\Mail\Mailable; |
| 7 | 7 | use Illuminate\Queue\SerializesModels; |
| 8 | -use Illuminate\Contracts\Queue\ShouldQueue; |
|
| 9 | - |
|
| 10 | 8 | use App\Models\JobPoster; |
| 11 | 9 | use App\Models\User; |
| 12 | 10 | |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | * // Ensure that models serialized using toArray() or toJson() use the api-specific date format |
| 81 | 81 | * |
| 82 | 82 | * @param DateTimeInterface $date |
| 83 | - * @return void |
|
| 83 | + * @return string |
|
| 84 | 84 | */ |
| 85 | 85 | protected function serializeDate(DateTimeInterface $date) |
| 86 | 86 | { |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | * Get the notification's delivery channels. |
| 35 | 35 | * |
| 36 | 36 | * @param mixed $notifiable |
| 37 | - * @return array |
|
| 37 | + * @return string[] |
|
| 38 | 38 | */ |
| 39 | 39 | public function via($notifiable) |
| 40 | 40 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Illuminate\Bus\Queueable; |
| 6 | 6 | use Illuminate\Notifications\Notification; |
| 7 | -use Illuminate\Contracts\Queue\ShouldQueue; |
|
| 8 | 7 | use Illuminate\Notifications\Messages\MailMessage; |
| 9 | 8 | use Illuminate\Support\Facades\Lang; |
| 10 | 9 | |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | * |
| 32 | 32 | * @param \App\Models\User $user |
| 33 | 33 | * @param \App\Models\Applicant $applicant |
| 34 | - * @return mixed |
|
| 34 | + * @return boolean |
|
| 35 | 35 | */ |
| 36 | 36 | public function view(User $user, Applicant $applicant) |
| 37 | 37 | { |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | * Determine whether the user can create applicants. |
| 46 | 46 | * |
| 47 | 47 | * @param \App\Models\User $user |
| 48 | - * @return mixed |
|
| 48 | + * @return boolean |
|
| 49 | 49 | */ |
| 50 | 50 | public function create(User $user) |
| 51 | 51 | { |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | * |
| 58 | 58 | * @param \App\Models\User $user |
| 59 | 59 | * @param \App\Models\Applicant $applicant |
| 60 | - * @return mixed |
|
| 60 | + * @return boolean |
|
| 61 | 61 | */ |
| 62 | 62 | public function update(User $user, Applicant $applicant) |
| 63 | 63 | { |
@@ -15,8 +15,8 @@ discard block |
||
| 15 | 15 | * Determine whether the user can view the jobApplication. |
| 16 | 16 | * |
| 17 | 17 | * @param \App\Models\User $user |
| 18 | - * @param \App\JobApplication $jobApplication |
|
| 19 | - * @return mixed |
|
| 18 | + * @param JobApplication $jobApplication |
|
| 19 | + * @return boolean |
|
| 20 | 20 | */ |
| 21 | 21 | public function view(User $user, JobApplication $jobApplication) |
| 22 | 22 | { |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * Determine whether the user can create jobApplications. |
| 33 | 33 | * |
| 34 | 34 | * @param \App\Models\User $user |
| 35 | - * @return mixed |
|
| 35 | + * @return boolean |
|
| 36 | 36 | */ |
| 37 | 37 | public function create(User $user) |
| 38 | 38 | { |
@@ -43,8 +43,8 @@ discard block |
||
| 43 | 43 | * Determine whether the user can update the jobApplication. |
| 44 | 44 | * |
| 45 | 45 | * @param \App\Models\User $user |
| 46 | - * @param \App\JobApplication $jobApplication |
|
| 47 | - * @return mixed |
|
| 46 | + * @param JobApplication $jobApplication |
|
| 47 | + * @return boolean |
|
| 48 | 48 | */ |
| 49 | 49 | public function update(User $user, JobApplication $jobApplication) |
| 50 | 50 | { |
@@ -58,8 +58,8 @@ discard block |
||
| 58 | 58 | * Determine whether the user can delete the jobApplication. |
| 59 | 59 | * |
| 60 | 60 | * @param \App\Models\User $user |
| 61 | - * @param \App\JobApplication $jobApplication |
|
| 62 | - * @return mixed |
|
| 61 | + * @param JobApplication $jobApplication |
|
| 62 | + * @return boolean |
|
| 63 | 63 | */ |
| 64 | 64 | public function delete(User $user, JobApplication $jobApplication) |
| 65 | 65 | { |
@@ -72,8 +72,8 @@ discard block |
||
| 72 | 72 | * Determine whether the user can review the jobApplication. |
| 73 | 73 | * |
| 74 | 74 | * @param \App\Models\User $user |
| 75 | - * @param \App\JobApplication $jobApplication |
|
| 76 | - * @return mixed |
|
| 75 | + * @param JobApplication $jobApplication |
|
| 76 | + * @return boolean |
|
| 77 | 77 | */ |
| 78 | 78 | public function review(User $user, JobApplication $jobApplication) |
| 79 | 79 | { |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | * |
| 15 | 15 | * @param \App\Models\User $user |
| 16 | 16 | * @param \App\Models\JobPoster $jobPoster |
| 17 | - * @return mixed |
|
| 17 | + * @return boolean |
|
| 18 | 18 | */ |
| 19 | 19 | public function view(?User $user, JobPoster $jobPoster) |
| 20 | 20 | { |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * Determine whether the user can create job posters. |
| 33 | 33 | * |
| 34 | 34 | * @param \App\Models\User $user User to test against. |
| 35 | - * @return mixed |
|
| 35 | + * @return boolean |
|
| 36 | 36 | */ |
| 37 | 37 | public function create(User $user) |
| 38 | 38 | { |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | * |
| 46 | 46 | * @param \App\Models\User $user |
| 47 | 47 | * @param \App\Models\JobPoster $jobPoster |
| 48 | - * @return mixed |
|
| 48 | + * @return boolean |
|
| 49 | 49 | */ |
| 50 | 50 | public function update(User $user, JobPoster $jobPoster) |
| 51 | 51 | { |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * |
| 61 | 61 | * @param \App\Models\User $user |
| 62 | 62 | * @param \App\Models\JobPoster $jobPoster |
| 63 | - * @return mixed |
|
| 63 | + * @return boolean |
|
| 64 | 64 | */ |
| 65 | 65 | public function review(User $user, JobPoster $jobPoster) |
| 66 | 66 | { |