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 98ce585 commit 2981a38Copy full SHA for 2981a38
tests/UnifiedSpecTests/Operation.php
@@ -545,7 +545,7 @@ private function executeForCollection(Collection $collection)
545
/* Note: tests specify options within "model". A top-level
546
* "options" key (CreateSearchIndexOptions) is not used. */
547
$definition = $args['model']->definition;
548
- $options = array_diff_key($args['model'], ['definition' => 1]);
+ $options = array_diff_key((array) $args['model'], ['definition' => 1]);
549
550
return $collection->createSearchIndex($definition, $options);
551
0 commit comments