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

Commit dec6866

Browse files
committed
♻️ switched to single quotes
1 parent 9c2fd05 commit dec6866

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

app/console/ExampleCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
class ExampleCommand extends Command
88
{
9-
protected static $defaultName = "example";
10-
public $description = "example command's description";
11-
public $help = "example command's help";
9+
protected static $defaultName = 'example';
10+
public $description = 'example command\'s description';
11+
public $help = 'example command\'s help';
1212

1313
protected function config()
1414
{
1515
$this
16-
->setArgument("argument", "optional", "argument description")
17-
->setOption("option", "o", "required", "option description");
16+
->setArgument('argument', 'optional', 'argument description')
17+
->setOption('option', 'o', 'required', 'option description');
1818
}
1919

2020
protected function handle()

app/controllers/Controller.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,5 @@ public function __construct()
2828
Auth::config(AuthConfig());
2929

3030
// You can refer to https://leafphp.dev/modules/auth for auth docs
31-
32-
// To use session instead of JWT, open up config/auth.php and set
33-
// USE_SESSION to true
3431
}
3532
}

0 commit comments

Comments
 (0)