Skip to content

Commit abfd038

Browse files
committed
fix: update to new billing commands
1 parent 32affdb commit abfd038

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Core.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,8 @@ public static function loadConsole($externalCommands = [])
395395
$externalCommands[] = \Leaf\Queue::commands();
396396
}
397397

398-
if (function_exists('billing')) {
399-
$externalCommands[] = billing()->commands();
398+
if (class_exists('Leaf\Billing')) {
399+
$externalCommands[] = \Leaf\Billing::commands();
400400
}
401401

402402
foreach ($externalCommands as $command) {

0 commit comments

Comments
 (0)