Skip to content

Commit

Permalink
Fix AppNameCommand when setting composer namespace (#13208)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardoalifraco authored and taylorotwell committed Apr 21, 2016
1 parent b9aef4f commit f4c56c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Console/AppNameCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ protected function setBootstrapNamespaces()
protected function setComposerNamespace()
{
$this->replaceIn(
$this->getComposerPath(), $this->currentRoot.'\\\\', str_replace('\\', '\\\\', $this->argument('name')).'\\\\'
$this->getComposerPath(), str_replace('\\', '\\\\', $this->currentRoot).'\\\\', str_replace('\\', '\\\\', $this->argument('name')).'\\\\'
);
}

Expand Down

0 comments on commit f4c56c8

Please sign in to comment.