From 6a6445e829b9298e2080947937c7246537d574f8 Mon Sep 17 00:00:00 2001 From: Jad Joubran Date: Thu, 13 Aug 2015 12:51:43 -0400 Subject: [PATCH] Applied fixes from StyleCI --- app/Console/Commands/AngularFeature.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Console/Commands/AngularFeature.php b/app/Console/Commands/AngularFeature.php index 21efe71..0b8859b 100644 --- a/app/Console/Commands/AngularFeature.php +++ b/app/Console/Commands/AngularFeature.php @@ -38,14 +38,14 @@ public function handle() $studly_name = studly_case($name); $html = file_get_contents(__DIR__.'/Stubs/AngularFeature/feature.html.stub'); - $js = file_get_contents(__DIR__.'/Stubs/AngularFeature/feature.js.stub'); + $js = file_get_contents(__DIR__.'/Stubs/AngularFeature/feature.js.stub'); $less = file_get_contents(__DIR__.'/Stubs/AngularFeature/feature.less.stub'); $html = str_replace('{{StudlyName}}', $studly_name, $html); $js = str_replace('{{StudlyName}}', $studly_name, $js); - $folder = __DIR__ . '/../../../angular/app/' . $name; - if (is_dir($folder)){ + $folder = __DIR__.'/../../../angular/app/'.$name; + if (is_dir($folder)) { $this->info('Folder already exists'); return false;