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 5ad221d commit dc6c7bfCopy full SHA for dc6c7bf
tests/TestCase.php
@@ -15,7 +15,7 @@ public function setUp(): void
15
{
16
parent::setUp();
17
18
- if ($this->getProvidedData()) {
+ if ($this->getProvidedData() && method_exists(Model::class, 'preventAccessingMissingAttributes')) {
19
[$strict] = $this->getProvidedData();
20
Model::preventAccessingMissingAttributes($strict);
21
}
0 commit comments