Skip to content

Commit

Permalink
Fixed coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
jamielsharief committed Oct 16, 2019
1 parent 75f2676 commit 500e9ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/paths.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Path configuration constants
*/
if (!defined('DS')) {
if (! defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
}
define('ROOT', dirname(__DIR__));
Expand Down
6 changes: 3 additions & 3 deletions src/Console/Command/GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
*/
namespace Generate\Console\Command;

use Origin\Core\Config;
use Origin\Inflector\Inflector;
use Origin\Model\ConnectionManager;
use Origin\Console\Command\Command;
use Origin\Core\Config;
use Origin\Model\ConnectionManager;

class GenerateCommand extends Command
{
Expand Down Expand Up @@ -66,7 +66,7 @@ public function initialize() : void
/**
* in standalone plugin this directories are the same
*/
$this->directory = dirname(__DIR__, 3) . '/templates';
$this->directory = dirname(__DIR__, 3) . '/templates';
if (file_exists(ROOT .'/templates')) {
$this->directory = ROOT . '/templates';
}
Expand Down

0 comments on commit 500e9ae

Please sign in to comment.