Skip to content

Commit

Permalink
Merge pull request #2 from amosmos/analysis-8mo3EK
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
amosmos authored Aug 23, 2017
2 parents 986b42d + 2f3fcbd commit 0585575
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 0585575

Please sign in to comment.