Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit ab11bfa

Browse files
committed
Update leaf
Change $console->resgiter default to array
1 parent f7a954d commit ab11bfa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

leaf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ $console = new \Aloe\Console("Leaf API", "v3.0");
7777
| Add custom commands
7878
|
7979
*/
80-
$console->register(\App\Console\ExampleCommand::class);
80+
$console->register([
81+
\App\Console\ExampleCommand::class
82+
]);
8183

8284
/*
8385
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)