We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8de8ebb commit f9431aeCopy full SHA for f9431ae
src/Contracts/DSL.php
@@ -8,6 +8,6 @@ class DSL
8
{
9
public static function filter(array $dsl): array|stdClass
10
11
- return array_filter($dsl, fn (mixed $item) => !is_null($item)) ?: new stdClass;
+ return array_filter($dsl, fn (mixed $item) => !is_null($item)) ?: new stdClass();
12
}
13
0 commit comments