Skip to content

Commit 68af9ca

Browse files
committed
fix ci
1 parent 2e102d4 commit 68af9ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Command/Traits/GenerateFileTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ protected function buildSchemaCode(string $name, array $schema, int $indent): st
531531
}
532532

533533
if (isset($schema['xml'])) {
534-
$xml = addslashes(json_encode($schema['xml']));
534+
$xml = addslashes(json_encode($schema['xml']) ?: '');
535535
$code .= "{$pad} ->xml('{$xml}')\n";
536536
}
537537

0 commit comments

Comments
 (0)