@@ -129,6 +129,9 @@ |
||
129 | 129 | $state['currentTeam'] = $this->nextPlayer[$state['currentTeam']]; |
130 | 130 | } |
131 | 131 | |
132 | + /** |
|
133 | + * @param string $startTeam |
|
134 | + */ |
|
132 | 135 | private function randFieldColors($startTeam) |
133 | 136 | { |
134 | 137 | $this->numberOfFields[$startTeam] += 1; |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /* |
20 | 20 | * Authenticate the user's personal channel... |
21 | 21 | */ |
22 | - Broadcast::channel('App.User.*', function ($user, $userId) { |
|
22 | + Broadcast::channel('App.User.*', function($user, $userId) { |
|
23 | 23 | return (int) $user->id === (int) $userId; |
24 | 24 | }); |
25 | 25 | } |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | Route::group([ |
55 | 55 | 'middleware' => 'web', |
56 | 56 | 'namespace' => $this->namespace, |
57 | - ], function ($router) { |
|
57 | + ], function($router) { |
|
58 | 58 | require base_path('routes/web.php'); |
59 | 59 | }); |
60 | 60 | } |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | 'middleware' => 'api', |
73 | 73 | 'namespace' => $this->namespace, |
74 | 74 | 'prefix' => 'api', |
75 | - ], function ($router) { |
|
75 | + ], function($router) { |
|
76 | 76 | require base_path('routes/api.php'); |
77 | 77 | }); |
78 | 78 | } |