mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-17 17:47:13 +00:00
Merge branch 'feat-tweak-meta-catch' of github.com:barryvdh/laravel-ide-helper into feat-tweak-meta-catch
This commit is contained in:
@@ -237,7 +237,7 @@ class MetaCommand extends Command
|
||||
'argumentSet' => 'auth',
|
||||
],
|
||||
[
|
||||
'class' => [ 'Illuminate\Contracts\Auth\Access\Authorizable'],
|
||||
'class' => ['Illuminate\Contracts\Auth\Access\Authorizable'],
|
||||
'method' => ['can'],
|
||||
'argumentSet' => 'auth',
|
||||
],
|
||||
@@ -317,7 +317,7 @@ class MetaCommand extends Command
|
||||
$value = $this->files->requireOnce($file) ?: [];
|
||||
} catch (\Throwable $e) {
|
||||
$value = [];
|
||||
$this->warn('Cannot load template for ' . $name .': '.$e->getMessage());
|
||||
$this->warn('Cannot load template for ' . $name . ': ' . $e->getMessage());
|
||||
}
|
||||
|
||||
if (!$value instanceof Collection) {
|
||||
|
||||
Reference in New Issue
Block a user