Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Aug 21, 2017
1 parent 22b7925 commit 48f5f23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Illuminate/Foundation/Console/PolicyMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ protected function replaceModel($stub, $model)
$stub = str_replace('NamespacedDummyModel', $namespaceModel, $stub);
}

$stub = str_replace("use {$namespaceModel};\nuse {$namespaceModel};",
"use {$namespaceModel};", $stub);
$stub = str_replace(
"use {$namespaceModel};\nuse {$namespaceModel};", "use {$namespaceModel};", $stub
);

$model = class_basename(trim($model, '\\'));

Expand Down

0 comments on commit 48f5f23

Please sign in to comment.