Skip to content

Commit e1685e0

Browse files
skuroedovkrulis-martin
authored andcommitted
Flipped join/implode params (https://www.php.net/manual/en/function.implode.php - changelog)
1 parent ff8427f commit e1685e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/commands/runtimes/RuntimeImport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ protected static function validate(array $obj, array $schema, array $prefix = []
153153
{
154154
foreach ($schema as $key => $desc) {
155155
// check existence
156-
$path = $prefix ? ("'" . join($prefix, "' / '") . "'") : '<root>';
156+
$path = $prefix ? ("'" . join("' / '", $prefix) . "'") : '<root>';
157157
if (!array_key_exists($key, $obj)) {
158158
throw new RuntimeException("Property '$key' is missing in $path structure.");
159159
}

0 commit comments

Comments
 (0)