Skip to content

Commit

Permalink
5.3 array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Mar 16, 2015
1 parent f321828 commit 692b223
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Console/MetaCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ class MetaCommand extends Command {
/** @var \Illuminate\View\Factory */
protected $view;

protected $methods = [
protected $methods = array(
'\Illuminate\Foundation\Application::make',
'\Illuminate\Container\Container::make',
'\App::make',
'app',
];
);

/**
*
Expand Down Expand Up @@ -81,10 +81,10 @@ public function fire()
}
}

$content = $this->view->make('laravel-ide-helper::meta', [
$content = $this->view->make('laravel-ide-helper::meta', array(
'bindings' => $bindings,
'methods' => $this->methods,
])->render();
))->render();

$written = $this->files->put($filename, $content);

Expand Down

0 comments on commit 692b223

Please sign in to comment.