Use the ::class notation

Prefix the namespace with \
This commit is contained in:
Nicolas Widart
2015-06-05 15:16:16 +02:00
parent 86e53af851
commit 58db25b9f5
3 changed files with 11 additions and 11 deletions

View File

@@ -13,7 +13,7 @@ class Kernel extends ConsoleKernel
* @var array
*/
protected $commands = [
'App\Console\Commands\Inspire',
\App\Console\Commands\Inspire::class,
];
/**