Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
amosmos authored and StyleCIBot committed Aug 23, 2017
1 parent 986b42d commit 2f3fcbd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Commands/CreateUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function handle()

$model = config('createuser.model');

$user = new $model;
$user = new $model();

$model::fill([
'name' => $name,
Expand Down
5 changes: 3 additions & 2 deletions src/Config/createuser.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

return [
'model' => 'App\User'
];
'model' => 'App\User',
];
2 changes: 1 addition & 1 deletion src/CreateUserServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ public function register()
Commands\CreateUser::class,
]);
}
}
}

0 comments on commit 2f3fcbd

Please sign in to comment.