@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | $size = $this->count; |
| 56 | 56 | $list = []; |
| 57 | 57 | |
| 58 | - for ($i = 0; $i < $size; ++$i) |
|
| 58 | + for ($i = 0; $i < $size; ++$i) |
|
| 59 | 59 | $list[] = EngineAdditions::coupleSelector (VoidCore::getArrayValue ($this->selector, $i)); |
| 60 | 60 | |
| 61 | 61 | return $list; |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | # ArrayAccess |
| 125 | 125 | |
| 126 | 126 | public function offsetSet ($index, $value) |
| 127 | - { |
|
| 127 | + { |
|
| 128 | 128 | try |
| 129 | 129 | { |
| 130 | 130 | $index === null ? |
@@ -140,14 +140,14 @@ discard block |
||
| 140 | 140 | } |
| 141 | 141 | } |
| 142 | 142 | |
| 143 | - public function offsetGet ($index) |
|
| 144 | - { |
|
| 145 | - return EngineAdditions::coupleSelector (VoidCore::getArrayValue ($this->selector, $index), $this->selector); |
|
| 143 | + public function offsetGet ($index) |
|
| 144 | + { |
|
| 145 | + return EngineAdditions::coupleSelector (VoidCore::getArrayValue ($this->selector, $index), $this->selector); |
|
| 146 | 146 | } |
| 147 | 147 | |
| 148 | - public function offsetUnset ($index): void |
|
| 149 | - { |
|
| 150 | - $this->callMethod ('RemoveAt', $index); |
|
| 148 | + public function offsetUnset ($index): void |
|
| 149 | + { |
|
| 150 | + $this->callMethod ('RemoveAt', $index); |
|
| 151 | 151 | } |
| 152 | 152 | |
| 153 | 153 | public function offsetExists ($index): bool |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | |
| 238 | 238 | class EngineAdditions |
| 239 | 239 | { |
| 240 | - /** |
|
| 240 | + /** |
|
| 241 | 241 | * * Компиляция PHP кода |
| 242 | 242 | * |
| 243 | 243 | * TODO: дополнить описание |
@@ -11,12 +11,12 @@ |
||
| 11 | 11 | const APP_DIR = __DIR__; |
| 12 | 12 | |
| 13 | 13 | define ('VoidEngine\CORE_DIR', |
| 14 | - file_exists ($dir = dirname (__DIR__) .'/qero-packages/winforms-php/VoidFramework/core') ? $dir : __DIR__); |
|
| 14 | + file_exists ($dir = dirname (__DIR__) .'/qero-packages/winforms-php/VoidFramework/core') ? $dir : __DIR__); |
|
| 15 | 15 | |
| 16 | 16 | # Подгружаем PHP расширения |
| 17 | 17 | foreach (glob (CORE_DIR .'/ext/php_*.dll') as $ext) |
| 18 | - if (!extension_loaded (substr (basename ($ext), 4, -4))) |
|
| 19 | - load_extension ($ext); |
|
| 18 | + if (!extension_loaded (substr (basename ($ext), 4, -4))) |
|
| 19 | + load_extension ($ext); |
|
| 20 | 20 | |
| 21 | 21 | # Подгружаем Qero-пакеты |
| 22 | 22 | require __DIR__ .'/../qero-packages/autoload.php'; |