@@ -141,15 +141,15 @@ |
||
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
144 | - * @param string $className |
|
145 | - * @param string $container |
|
146 | - * @param string $table |
|
147 | - * @return string |
|
148 | - * |
|
149 | - * Creates class data |
|
150 | - * ------------------ |
|
151 | - * Создает данные класса |
|
152 | - */ |
|
144 | + * @param string $className |
|
145 | + * @param string $container |
|
146 | + * @param string $table |
|
147 | + * @return string |
|
148 | + * |
|
149 | + * Creates class data |
|
150 | + * ------------------ |
|
151 | + * Создает данные класса |
|
152 | + */ |
|
153 | 153 | private function createSqliteMigration(string $className, string $table, string $namespace) |
154 | 154 | { |
155 | 155 | return <<<EOT |
@@ -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 | } |
@@ -21,17 +21,17 @@ |
||
21 | 21 | { |
22 | 22 | data([ |
23 | 23 | "content" => cache(['mainpage', 'now']) ?? view(["index", 'mainpage']), |
24 | - ]); |
|
24 | + ]); |
|
25 | 25 | |
26 | - Dispatcher::dispatch('message', __CLASS__); |
|
27 | - $this->info("Hello $name"); |
|
26 | + Dispatcher::dispatch('message', __CLASS__); |
|
27 | + $this->info("Hello $name"); |
|
28 | 28 | |
29 | - Dispatcher::notify('one'); |
|
29 | + Dispatcher::notify('one'); |
|
30 | 30 | |
31 | 31 | dump(PHP_VERSION); |
32 | - dump(__METHOD__); |
|
32 | + dump(__METHOD__); |
|
33 | 33 | |
34 | - render("layout", data()); |
|
34 | + render("layout", data()); |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | #[Routing(url: '')] |