5.3 array syntax

Fixes #183
This commit is contained in:
Barry vd. Heuvel
2015-03-16 18:22:03 +01:00
parent f321828778
commit 692b223e94
+4 -4
View File
@@ -41,12 +41,12 @@ class MetaCommand extends Command {
/** @var \Illuminate\View\Factory */ /** @var \Illuminate\View\Factory */
protected $view; protected $view;
protected $methods = [ protected $methods = array(
'\Illuminate\Foundation\Application::make', '\Illuminate\Foundation\Application::make',
'\Illuminate\Container\Container::make', '\Illuminate\Container\Container::make',
'\App::make', '\App::make',
'app', 'app',
]; );
/** /**
* *
@@ -81,10 +81,10 @@ class MetaCommand extends Command {
} }
} }
$content = $this->view->make('laravel-ide-helper::meta', [ $content = $this->view->make('laravel-ide-helper::meta', array(
'bindings' => $bindings, 'bindings' => $bindings,
'methods' => $this->methods, 'methods' => $this->methods,
])->render(); ))->render();
$written = $this->files->put($filename, $content); $written = $this->files->put($filename, $content);