@@ -68,7 +68,7 @@ |
||
| 68 | 68 | * |
| 69 | 69 | * @param FederationRequest|\Illuminate\Http\Request $request |
| 70 | 70 | * @param int $id |
| 71 | - * @return \Illuminate\Http\Response |
|
| 71 | + * @return \Illuminate\Http\RedirectResponse |
|
| 72 | 72 | * @throws NotOwningFederationException |
| 73 | 73 | */ |
| 74 | 74 | public function update(FederationRequest $request, $id) |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | * Send an email to competitor and store invitation. |
| 63 | 63 | * |
| 64 | 64 | * @param InviteRequest|Request $request |
| 65 | - * @return \Illuminate\Http\Response |
|
| 65 | + * @return \Illuminate\Http\RedirectResponse |
|
| 66 | 66 | */ |
| 67 | 67 | public function store(Request $request) |
| 68 | 68 | { |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | * Send an email to competitor and store invitation. |
| 90 | 90 | * |
| 91 | 91 | * @param InviteRequest|Request $request |
| 92 | - * @return \Illuminate\Http\Response |
|
| 92 | + * @return \Illuminate\Http\RedirectResponse |
|
| 93 | 93 | */ |
| 94 | 94 | public function upload(Request $request) |
| 95 | 95 | { |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | 71 | * @param $championship |
| 72 | - * @param $tempAssignCompatitors |
|
| 72 | + * @param Collection $tempAssignCompatitors |
|
| 73 | 73 | * @return mixed |
| 74 | 74 | */ |
| 75 | 75 | private function getAssignedCompetitors($championship, $tempAssignCompatitors) |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | * |
| 99 | 99 | * @param Request $request |
| 100 | 100 | * @param Championship $championship |
| 101 | - * @return View |
|
| 101 | + * @return \Illuminate\Http\RedirectResponse |
|
| 102 | 102 | * @throws AuthorizationException |
| 103 | 103 | */ |
| 104 | 104 | public function store(Request $request, Championship $championship) |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | * @param TeamRequest $request |
| 144 | 144 | * @param Tournament $tournament |
| 145 | 145 | * @param $teamId |
| 146 | - * @return Response |
|
| 146 | + * @return \Illuminate\Http\RedirectResponse |
|
| 147 | 147 | * @throws AuthorizationException |
| 148 | 148 | */ |
| 149 | 149 | public function update(TeamRequest $request, Tournament $tournament, $teamId) |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | * Store a new Tournament |
| 78 | 78 | * |
| 79 | 79 | * @param TournamentRequest $form |
| 80 | - * @return \Illuminate\Http\Response |
|
| 80 | + * @return \Illuminate\Http\RedirectResponse |
|
| 81 | 81 | */ |
| 82 | 82 | public function store(TournamentRequest $form) |
| 83 | 83 | { |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | * Build Tree |
| 31 | 31 | * |
| 32 | 32 | * @param Request $request |
| 33 | - * @return \Illuminate\Http\Response|string |
|
| 33 | + * @return \Illuminate\Http\RedirectResponse |
|
| 34 | 34 | * @throws AuthorizationException |
| 35 | 35 | */ |
| 36 | 36 | public function store(Request $request) |
@@ -130,7 +130,7 @@ |
||
| 130 | 130 | * |
| 131 | 131 | * @param UserRequest $userForm |
| 132 | 132 | * @param User $user |
| 133 | - * @return Response |
|
| 133 | + * @return \Illuminate\Http\RedirectResponse |
|
| 134 | 134 | */ |
| 135 | 135 | public function update(UserRequest $userForm, User $user) |
| 136 | 136 | { |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | * Get the notification's delivery channels. |
| 28 | 28 | * |
| 29 | 29 | * @param mixed $notifiable |
| 30 | - * @return array |
|
| 30 | + * @return string[] |
|
| 31 | 31 | */ |
| 32 | 32 | public function via($notifiable) |
| 33 | 33 | { |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | * Create a new policy instance. |
| 17 | 17 | * @param User $user |
| 18 | 18 | * @param $ability |
| 19 | - * @return bool |
|
| 19 | + * @return boolean|null |
|
| 20 | 20 | */ |
| 21 | 21 | public function before(User $user, $ability) |
| 22 | 22 | { |
@@ -8,6 +8,9 @@ |
||
| 8 | 8 | class UserRepository extends BaseRepository |
| 9 | 9 | { |
| 10 | 10 | |
| 11 | + /** |
|
| 12 | + * @param \Laravel\Socialite\Contracts\User $userData |
|
| 13 | + */ |
|
| 11 | 14 | public function findByUserNameOrCreate($userData, $provider) |
| 12 | 15 | { |
| 13 | 16 | |