We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afdf2f2 commit f76e119Copy full SHA for f76e119
phpunit.xml
@@ -3,6 +3,8 @@
3
<testsuites>
4
<testsuite name="Package Test Suite">
5
<directory suffix=".php">./tests/</directory>
6
+ <exclude>./tests/data</exclude>
7
+ <exclude>./tests/models</exclude>
8
</testsuite>
9
</testsuites>
10
<source>
src/NodeTrait.php
@@ -746,7 +746,7 @@ public function newCollection(array $models = array())
746
*
747
* Use `children` key on `$attributes` to create child nodes.
748
*/
749
- public static function create(array $attributes = [], self|null $parent = null)
+ public static function create(array $attributes = [], ?self $parent = null)
750
{
751
$children = Arr::pull($attributes, 'children');
752
0 commit comments