@@ -22,7 +22,7 @@ |
||
| 22 | 22 | 'group' => 'text', |
| 23 | 23 | 'label' => 'text' |
| 24 | 24 | ]; |
| 25 | - protected $table = '[prefix]permissions'; |
|
| 25 | + protected $table = '[prefix]permissions'; |
|
| 26 | 26 | /** |
| 27 | 27 | * Array of all permissions for quick selecting |
| 28 | 28 | * |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | */ |
| 52 | 52 | public function stream_read ($length) { |
| 53 | 53 | fseek($this->stream, $this->position); |
| 54 | - $bytes = fread($this->stream, $length); |
|
| 54 | + $bytes = fread($this->stream, $length); |
|
| 55 | 55 | $this->position += strlen($bytes); |
| 56 | 56 | return $bytes; |
| 57 | 57 | } |
@@ -374,7 +374,7 @@ |
||
| 374 | 374 | /** |
| 375 | 375 | * If content is link to CSS file |
| 376 | 376 | */ |
| 377 | - $css = static::css( |
|
| 377 | + $css = static::css( |
|
| 378 | 378 | file_get_contents("$dir/$url"), |
| 379 | 379 | "$dir/$url", |
| 380 | 380 | $target_directory_path, |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | $verbosity => true |
| 123 | 123 | ] |
| 124 | 124 | ); |
| 125 | - $output = new Output; |
|
| 125 | + $output = new Output; |
|
| 126 | 126 | $Application->setAutoExit(false); |
| 127 | 127 | $status_code = $Application->run($input, $output); |
| 128 | 128 | $description = $output->get_buffer(); |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | 'repositories' => [], |
| 194 | 194 | 'require' => [] |
| 195 | 195 | ]; |
| 196 | - $Config = Config::instance(); |
|
| 196 | + $Config = Config::instance(); |
|
| 197 | 197 | foreach (array_keys($Config->components['modules']) as $module) { |
| 198 | 198 | if ( |
| 199 | 199 | $module == $component_name && |
@@ -245,13 +245,13 @@ discard block |
||
| 245 | 245 | return; |
| 246 | 246 | } |
| 247 | 247 | |
| 248 | - $package = array_filter( |
|
| 248 | + $package = array_filter( |
|
| 249 | 249 | $package, |
| 250 | 250 | function ($value) { |
| 251 | 251 | return $value !== []; |
| 252 | 252 | } |
| 253 | 253 | ); |
| 254 | - $composer['repositories'][] = [ |
|
| 254 | + $composer['repositories'][] = [ |
|
| 255 | 255 | 'type' => 'package', |
| 256 | 256 | 'package' => $package |
| 257 | 257 | ]; |