Archived
1
0
Fork 0

Formatting fixes and cleanup.

This commit is contained in:
Henrik Hautakoski 2023-01-31 07:34:02 +01:00
parent a1e14a3e60
commit 51fb71e469
41 changed files with 394 additions and 392 deletions

View file

@ -2,7 +2,6 @@
namespace App\Providers;
use App\Game\GameBuilder;
use App\Game\GameBoardState;
use App\Game\GameService;
use App\Game\GameSession;
@ -20,7 +19,7 @@ class GameServiceProvider extends ServiceProvider implements DeferrableProvider
*/
public function register()
{
$this->app->bind(GameBoardState::class, function($app) {
$this->app->bind(GameBoardState::class, function ($app) {
$width = (int) config('app.game.board.width', 4);
$height = (int) config('app.game.board.height', 4);
return new GameBoardState($width, $height);
@ -50,6 +49,6 @@ class GameServiceProvider extends ServiceProvider implements DeferrableProvider
*/
public function provides()
{
return [ 'game', GameService::class, GameBoardState::class ];
return ['game', GameService::class, GameBoardState::class];
}
}