Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 57727d6

Browse files
committed
cbSR(console)
1 parent d5f25c7 commit 57727d6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

console

+3-5
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,16 @@ foreach ($files as $file) {
1010
}
1111

1212
$classes = get_declared_classes();
13-
$offset = array_search("Symfony\Component\Console\Command\Command", $classes);
13+
$offset = array_search('Symfony\Component\Console\Command\Command', $classes);
1414
$length = count($classes);
1515

1616
include_once('include/database/PearDatabase.php');
1717
include_once('include/utils/utils.php');
1818

19-
$application = new Application("CoreBOS","1.0");
20-
21-
for ($i = $offset + 1 ; $i < $length; $i++) {
19+
$application = new Application('CoreBOS', '1.0');
2220

21+
for ($i = $offset + 1; $i < $length; $i++) {
2322
$application->add( new $classes[$i]() );
24-
2523
}
2624

2725
$application->run();

0 commit comments

Comments
 (0)