Passed
Push — main ( 6c2dd7...891f68 )
by Richard
03:32
created
routes/api.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -6,16 +6,16 @@
 block discarded – undo
6 6
 
7 7
 Route::prefix('api')->group(function () {
8 8
 
9
-	// Games
10
-	Route::get('games/{id}', [GameController::class, 'show'])->name('games.show');
11
-	Route::get('games/{id}/versions', [GameController::class, 'showVersions'])->name('games.versions');
12
-	Route::get('games/{id}/players', [GameController::class, 'showPlayers'])->name('games.players');
9
+    // Games
10
+    Route::get('games/{id}', [GameController::class, 'show'])->name('games.show');
11
+    Route::get('games/{id}/versions', [GameController::class, 'showVersions'])->name('games.versions');
12
+    Route::get('games/{id}/players', [GameController::class, 'showPlayers'])->name('games.players');
13 13
 
14
-	// Players
15
-	Route::get('players/{id}', [PlayerController::class, 'show'])->name('players.show');
16
-	Route::get('players/name/{name}', [PlayerController::class, 'showWithName'])->name('players.show-with-name');
17
-	Route::post('players', [PlayerController::class, 'create'])->name('players.create');
18
-	Route::put('players/{id}', [PlayerController::class, 'update'])->name('players.update');
19
-	Route::get('players/{id}/games', [PlayerController::class, 'showGames'])->name('players.games');
14
+    // Players
15
+    Route::get('players/{id}', [PlayerController::class, 'show'])->name('players.show');
16
+    Route::get('players/name/{name}', [PlayerController::class, 'showWithName'])->name('players.show-with-name');
17
+    Route::post('players', [PlayerController::class, 'create'])->name('players.create');
18
+    Route::put('players/{id}', [PlayerController::class, 'update'])->name('players.update');
19
+    Route::get('players/{id}/games', [PlayerController::class, 'showGames'])->name('players.games');
20 20
 
21 21
 }
22 22
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 use Furic\GameEssentials\Http\Controllers\GameController;
5 5
 use Furic\GameEssentials\Http\Controllers\PlayerController;
6 6
 
7
-Route::prefix('api')->group(function () {
7
+Route::prefix('api')->group(function() {
8 8
 
9 9
 	// Games
10 10
 	Route::get('games/{id}', [GameController::class, 'show'])->name('games.show');
Please login to merge, or discard this patch.