@@ -25,7 +25,7 @@ |
||
| 25 | 25 | use |
| 26 | 26 | CRUD, |
| 27 | 27 | Singleton; |
| 28 | - protected $data_model = [ |
|
| 28 | + protected $data_model = [ |
|
| 29 | 29 | 'id' => 'int:0', |
| 30 | 30 | 'user' => 'int:0', |
| 31 | 31 | 'date' => 'int:0', |
@@ -327,7 +327,7 @@ |
||
| 327 | 327 | /** |
| 328 | 328 | * If content is link to CSS file |
| 329 | 329 | */ |
| 330 | - $css = static::css( |
|
| 330 | + $css = static::css( |
|
| 331 | 331 | file_get_contents("$dir/$url"), |
| 332 | 332 | "$dir/$url", |
| 333 | 333 | $not_embedded_resources |
@@ -350,7 +350,7 @@ discard block |
||
| 350 | 350 | /** |
| 351 | 351 | * Narrow the dependencies to current module only |
| 352 | 352 | */ |
| 353 | - $dependencies = array_unique( |
|
| 353 | + $dependencies = array_unique( |
|
| 354 | 354 | array_merge( |
| 355 | 355 | ['System'], |
| 356 | 356 | $dependencies['System'], |
@@ -417,7 +417,7 @@ discard block |
||
| 417 | 417 | * @return string[][] |
| 418 | 418 | */ |
| 419 | 419 | protected function add_versions_hash ($assets) { |
| 420 | - $content = array_reduce( |
|
| 420 | + $content = array_reduce( |
|
| 421 | 421 | get_files_list(DIR.'/components', '/^meta\.json$/', 'f', true, true), |
| 422 | 422 | function ($content, $file) { |
| 423 | 423 | return $content.file_get_contents($file); |