@@ -18,6 +18,6 @@ |
||
18 | 18 | Cli::printer("Enter password: ", "magneta"); |
19 | 19 | $password = trim(fgets(fopen("php://stdin", "r"))); |
20 | 20 | |
21 | - Cli::printer(Auth::bcrypt($password) . PHP_EOL, "cyan", ); |
|
21 | + Cli::printer(Auth::bcrypt($password) . PHP_EOL, "cyan",); |
|
22 | 22 | } |
23 | 23 | } |
@@ -19,9 +19,9 @@ |
||
19 | 19 | $yaml = Yaml::dump($array); |
20 | 20 | file_put_contents("config/$filename.yml", $yaml); |
21 | 21 | |
22 | - Cli::printer("Yml was created" . PHP_EOL, "cyan", ); |
|
22 | + Cli::printer("Yml was created" . PHP_EOL, "cyan",); |
|
23 | 23 | } catch (Exception $e) { |
24 | - echo 'Exception: ', $e->getMessage(), "\n"; |
|
24 | + echo 'Exception: ', $e->getMessage(), "\n"; |
|
25 | 25 | } |
26 | 26 | } |
27 | 27 | } |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | 'services' => [ |
21 | 21 | 'factory' => StdFactory::class, |
22 | - 'callable' => function (){ |
|
22 | + 'callable' => function() { |
|
23 | 23 | $std = new stdClass; |
24 | 24 | $std->method = __METHOD__ . '::Created from waiting'; |
25 | 25 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | |
7 | 7 | class PgSQL |
8 | 8 | { |
9 | - public function __construct(protected $table){} |
|
9 | + public function __construct(protected $table) {} |
|
10 | 10 | |
11 | 11 | public function isTable() |
12 | 12 | { |
@@ -6,7 +6,7 @@ |
||
6 | 6 | |
7 | 7 | class SQLite |
8 | 8 | { |
9 | - public function __construct(protected $table){} |
|
9 | + public function __construct(protected $table) {} |
|
10 | 10 | |
11 | 11 | public function up(): void |
12 | 12 | { |
@@ -6,7 +6,7 @@ |
||
6 | 6 | |
7 | 7 | class MySQL |
8 | 8 | { |
9 | - public function __construct(protected $table){} |
|
9 | + public function __construct(protected $table) {} |
|
10 | 10 | |
11 | 11 | public function isTable() |
12 | 12 | { |
@@ -5,7 +5,7 @@ |
||
5 | 5 | if (php_sapi_name() != "cli") { |
6 | 6 | Router::get([ |
7 | 7 | 'url' => "callable/:name", |
8 | - 'controller' => function ($name) { |
|
8 | + 'controller' => function($name) { |
|
9 | 9 | echo "Hello $name!"; |
10 | 10 | } |
11 | 11 | ]); |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use App\Ship\ShipController; |
6 | 6 | use Rudra\View\ViewFacade as View; |
7 | 7 | |
8 | -class ErrorsController extends ShipController{ |
|
8 | +class ErrorsController extends ShipController { |
|
9 | 9 | public function containerInit(): void |
10 | 10 | { |
11 | 11 | View::setup(dirname(__DIR__) . '/', "Errors/UI/tmpl", "Errors/UI/cache"); |