@@ -318,7 +318,7 @@ discard block |
||
| 318 | 318 | /** |
| 319 | 319 | * Narrow the dependencies to current module only |
| 320 | 320 | */ |
| 321 | - $dependencies = array_unique( |
|
| 321 | + $dependencies = array_unique( |
|
| 322 | 322 | array_merge( |
| 323 | 323 | ['System'], |
| 324 | 324 | $dependencies['System'], |
@@ -385,7 +385,7 @@ discard block |
||
| 385 | 385 | * @return string[][] |
| 386 | 386 | */ |
| 387 | 387 | protected function add_versions_hash ($assets) { |
| 388 | - $content = array_reduce( |
|
| 388 | + $content = array_reduce( |
|
| 389 | 389 | get_files_list(DIR.'/components', '/^meta\.json$/', 'f', true, true), |
| 390 | 390 | function ($content, $file) { |
| 391 | 391 | return $content.file_get_contents($file); |
@@ -439,7 +439,7 @@ discard block |
||
| 439 | 439 | return "$content<link href=\"$href\" rel=\"import\">\n"; |
| 440 | 440 | } |
| 441 | 441 | ); |
| 442 | - $this->Head .= $configs; |
|
| 442 | + $this->Head .= $configs; |
|
| 443 | 443 | $this->add_script_imports_to_document($Config, $scripts.$html_imports); |
| 444 | 444 | } |
| 445 | 445 | /** |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | (bool)file_put_contents($random, _json_encode($data), LOCK_EX | FILE_BINARY) && |
| 63 | 63 | rename($random, $path_in_filesystem); |
| 64 | 64 | } |
| 65 | - trigger_error("File $path_in_filesystem not available for writing", E_USER_WARNING); |
|
| 65 | + trigger_error("file $path_in_filesystem not available for writing", E_USER_WARNING); |
|
| 66 | 66 | return false; |
| 67 | 67 | } |
| 68 | 68 | /** |