@@ -8,9 +8,7 @@ |
||
| 8 | 8 | use Facebook\FacebookAuthorizationException; |
| 9 | 9 | use Facebook\FacebookRequest; |
| 10 | 10 | use Facebook\GraphUser; |
| 11 | -use Illuminate; |
|
| 12 | 11 | use Illuminate\Support\Facades\Config; |
| 13 | -use Illuminate\Support\Facades\Request; |
|
| 14 | 12 | use Illuminate\Support\Facades\Auth; |
| 15 | 13 | use Illuminate\Support\Facades\Session; |
| 16 | 14 | use Illuminate\Http\Request as HttpRequest; |
@@ -26,7 +26,6 @@ discard block |
||
| 26 | 26 | * |
| 27 | 27 | * This is a great spot to send exceptions to Sentry, Bugsnag, etc |
| 28 | 28 | * @name report |
| 29 | - * @param Exception $e |
|
| 30 | 29 | * @throws \Exception |
| 31 | 30 | */ |
| 32 | 31 | public function report(Exception $exception) |
@@ -38,7 +37,6 @@ discard block |
||
| 38 | 37 | * Render an exception into an HTTP response. |
| 39 | 38 | * |
| 40 | 39 | * @param \Illuminate\Http\Request $request |
| 41 | - * @param \Exception $e |
|
| 42 | 40 | * @return \Illuminate\Http\Response |
| 43 | 41 | */ |
| 44 | 42 | public function render($request, Exception $exception) |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Http\Controllers\API; |
| 4 | 4 | |
| 5 | -use App\Http\Requests\Tournament\RemoveTeam; |
|
| 6 | 5 | use App\League; |
| 7 | 6 | use App\Team; |
| 8 | 7 | use App\TournamentTeam; |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace App\Http\Controllers\API; |
| 4 | 4 | |
| 5 | 5 | use App\Http\Requests\Team\AssignTeamMember; |
| 6 | -use App\Http\Requests\Team\RemoveTeamMember; |
|
| 7 | 6 | use App\Member; |
| 8 | 7 | use App\TeamMember; |
| 9 | 8 | use App\Transformers\TeamMemberSearchTransformer; |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * Store a newly created resource in storage. |
| 29 | 29 | * |
| 30 | - * @return Response |
|
| 30 | + * @return \Illuminate\Http\RedirectResponse |
|
| 31 | 31 | */ |
| 32 | 32 | public function store() |
| 33 | 33 | { |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | - * @param $match |
|
| 68 | + * @param Match $match |
|
| 69 | 69 | * @param $tournament |
| 70 | 70 | * @return bool |
| 71 | 71 | */ |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | - * @param $match |
|
| 89 | + * @param Match $match |
|
| 90 | 90 | * @param $tournament Tournament |
| 91 | 91 | * @return bool |
| 92 | 92 | */ |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | protected $round; |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | - * @return array |
|
| 32 | + * @return integer[] |
|
| 33 | 33 | */ |
| 34 | 34 | private static function listOfAvailableTeamsAmount() |
| 35 | 35 | { |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | |
| 132 | 132 | /** |
| 133 | 133 | * @name savePairs |
| 134 | - * @param $pairs |
|
| 134 | + * @param Collection $pairs |
|
| 135 | 135 | * @param string $gameType |
| 136 | 136 | */ |
| 137 | 137 | protected function savePairs($pairs, $gameType = Match::GAME_TYPE_QUALIFY) |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | - * @return array |
|
| 59 | + * @return string[] |
|
| 60 | 60 | */ |
| 61 | 61 | public static function getAvailableMembersType() |
| 62 | 62 | { |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | - * @return array |
|
| 70 | + * @return string[] |
|
| 71 | 71 | */ |
| 72 | 72 | public static function getAvailableTypes() |
| 73 | 73 | { |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | - * @return array |
|
| 82 | + * @return string[] |
|
| 83 | 83 | */ |
| 84 | 84 | public static function getAvailableStatuses() |
| 85 | 85 | { |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * Store a newly created resource in storage. |
| 29 | 29 | * |
| 30 | - * @return Response |
|
| 30 | + * @return \Illuminate\Http\RedirectResponse |
|
| 31 | 31 | */ |
| 32 | 32 | public function store() |
| 33 | 33 | { |