Skip to content

Commit

Permalink
Flipped join/implode params (https://www.php.net/manual/en/function.i…
Browse files Browse the repository at this point in the history
…mplode.php - changelog)
  • Loading branch information
skuroedov committed Nov 17, 2024
1 parent ff8427f commit 43b2778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/commands/runtimes/RuntimeImport.php
Original file line number Diff line number Diff line change
Expand Up @@ -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, "' / '") . "'") : '<root>';
$path = $prefix ? ("'" . join("' / '", $prefix) . "'") : '<root>';
if (!array_key_exists($key, $obj)) {
throw new RuntimeException("Property '$key' is missing in $path structure.");
}
Expand Down

0 comments on commit 43b2778

Please sign in to comment.