@@ -21,11 +21,11 @@ |
||
| 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 | - render("layout", data()); |
|
| 29 | + render("layout", data()); |
|
| 30 | 30 | } |
| 31 | 31 | } |
@@ -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 | } |