@@ -348,7 +348,7 @@ |
||
| 348 | 348 | |
| 349 | 349 | $this->initializeBitrix(); |
| 350 | 350 | |
| 351 | - spl_autoload_register(function ($className) { |
|
| 351 | + spl_autoload_register(function($className) { |
|
| 352 | 352 | $file = ltrim($className, "\\"); |
| 353 | 353 | $file = strtr($file, Loader::ALPHA_UPPER, Loader::ALPHA_LOWER); |
| 354 | 354 | $file = str_replace('\\', '/', $file); |
@@ -180,7 +180,7 @@ |
||
| 180 | 180 | } |
| 181 | 181 | |
| 182 | 182 | $question = new Question(' <info>Enter path to web directory (document root of main site):</info> '); |
| 183 | - $question->setValidator(function ($answer) { |
|
| 183 | + $question->setValidator(function($answer) { |
|
| 184 | 184 | if (!is_dir($answer)) |
| 185 | 185 | { |
| 186 | 186 | throw new \RuntimeException('Directory "' . $answer . '" is missing'); |
@@ -394,7 +394,7 @@ |
||
| 394 | 394 | } |
| 395 | 395 | else |
| 396 | 396 | { |
| 397 | - $output->writeln('<error>Invalid option for module "' . $module . '" with code "' . $code. '"</error>'); |
|
| 397 | + $output->writeln('<error>Invalid option for module "' . $module . '" with code "' . $code . '"</error>'); |
|
| 398 | 398 | } |
| 399 | 399 | } |
| 400 | 400 | else |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | { |
| 111 | 111 | if (!$this->isRegistered()) |
| 112 | 112 | { |
| 113 | - $moduleObject =& $this->getObject(); |
|
| 113 | + $moduleObject = & $this->getObject(); |
|
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | 116 | * It's important to check if module class defines InstallDB method (it must register module) |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | } |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | - return '\\' . $className . '::agent(' . static::convertArgsToString($args). ')' . $chain . ';'; |
|
| 46 | + return '\\' . $className . '::agent(' . static::convertArgsToString($args) . ')' . $chain . ';'; |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | protected static function convertArgsToString(array $args) |