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 1e029ba commit a94f5c6Copy full SHA for a94f5c6
tests/src/Helper/User.php
@@ -50,7 +50,8 @@ public static function setUpProperties($properties, Schema $ownerSchema)
50
$defaultOptions = new UserOptions();
51
$defaultOptions->autoLogin = true;
52
$defaultOptions->groupName = 'guest';
53
- $properties->options = (clone UserOptions::schema())->setDefault(UserOptions::export($defaultOptions));
+ $properties->options = clone UserOptions::schema();
54
+ $properties->options->setDefault(UserOptions::export($defaultOptions));
55
56
// Dynamic (phpdoc-defined) properties can be used as well
57
$properties->quantity = Schema::integer();
0 commit comments