From 43b27780433b5e8299b656e18c01a70ce705ab2a Mon Sep 17 00:00:00 2001 From: Sergey Kuroedov Date: Sun, 17 Nov 2024 16:00:10 +0100 Subject: [PATCH] Flipped join/implode params (https://www.php.net/manual/en/function.implode.php - changelog) --- app/commands/runtimes/RuntimeImport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/commands/runtimes/RuntimeImport.php b/app/commands/runtimes/RuntimeImport.php index c1ab9c18a..bd60ecbdb 100644 --- a/app/commands/runtimes/RuntimeImport.php +++ b/app/commands/runtimes/RuntimeImport.php @@ -153,7 +153,7 @@ protected static function validate(array $obj, array $schema, array $prefix = [] { foreach ($schema as $key => $desc) { // check existence - $path = $prefix ? ("'" . join($prefix, "' / '") . "'") : ''; + $path = $prefix ? ("'" . join("' / '", $prefix) . "'") : ''; if (!array_key_exists($key, $obj)) { throw new RuntimeException("Property '$key' is missing in $path structure."); }