Fix views

This commit is contained in:
Barry vd. Heuvel
2015-03-16 12:59:27 +01:00
parent f8c4d4e77a
commit 683ed695a5
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ class MetaCommand extends Command {
$this->error("Cannot make $abstract: ".$e->getMessage());
}
}
$content = $this->view->make('laravel-ide-helper::meta', ['bindings' => $bindings])->render();
$content = $this->view->make('ide-helper::meta', ['bindings' => $bindings])->render();
$written = $this->files->put($filename, $content);
if ($written !== false) {
-24
View File
@@ -1,24 +0,0 @@
<?= '<?php' ?> namespace PHPSTORM_META {
/**
* PhpStorm Meta file, to provide autocomplete information for PhpStorm
* Generated on <?= date("Y-m-d") ?>.
*
* @author Barry vd. Heuvel <[email protected]>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
/** @noinspection PhpUnusedLocalVariableInspection */
/** @noinspection PhpIllegalArrayKeyTypeInspection */
$STATIC_METHOD_TYPES = [
\App::make('') => [
<?php foreach($bindings as $abstract => $class): ?>
'<?= $abstract ?>' instanceof \<?= $class ?>,
<?php endforeach ?> ],
app('') => [
<?php foreach($bindings as $abstract => $class): ?>
'<?= $abstract ?>' instanceof \<?= $class ?>,
<?php endforeach ?> ],
];
}