Type safety fixes
Publish PHP Package / docker (push) Successful in 6s
Details
Publish PHP Package / docker (push) Successful in 6s
Details
This commit is contained in:
parent
d8889de4d0
commit
ff4ae2682c
|
@ -920,6 +920,7 @@ function config_ensure_header(string $conf_dir, string $file, bool $force = fals
|
||||||
|
|
||||||
$lines = file($file);
|
$lines = file($file);
|
||||||
|
|
||||||
|
$is_success = false;
|
||||||
$lines[0] = config_set_header($lines[0], $conf_id, $alias, $is_success);
|
$lines[0] = config_set_header($lines[0], $conf_id, $alias, $is_success);
|
||||||
if(!$is_success)
|
if(!$is_success)
|
||||||
throw new Exception("Could not set header for '$file' in line: {$lines[0]}");
|
throw new Exception("Could not set header for '$file' in line: {$lines[0]}");
|
||||||
|
|
Loading…
Reference in New Issue