Skip to content

Commit

Permalink
Fix StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lloople committed Jul 8, 2017
1 parent 37d429d commit 18de133
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Illuminate/Foundation/Console/PolicyMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class PolicyMakeCommand extends GeneratorCommand
protected function buildClass($name)
{
$stub = parent::buildClass($name);

$stub = $this->replaceUserModelNamespace($stub);

$model = $this->option('model');
Expand All @@ -62,17 +62,17 @@ protected function replaceUserModelNamespace($stub)
}

/**
* Get the default namespace for the user model
* Get the default namespace for the user model.
*
* @return string
*/
public function getDefaultUserNamespace()
{
return $this->rootNamespace() . 'User';
return $this->rootNamespace().'User';
}

/**
* Get the real namespace for the user model
* Get the real namespace for the user model.
*
* @return string
*/
Expand Down

0 comments on commit 18de133

Please sign in to comment.