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 9b15115 commit b6ae126Copy full SHA for b6ae126
2 files changed
phpstan-baseline.neon
@@ -5,11 +5,6 @@ parameters:
5
count: 2
6
path: src/Engine.php
7
8
- -
9
- message: "#^Property Elastic\\\\ScoutDriver\\\\Engine\\:\\:\\$refreshDocuments \\(bool\\) does not accept mixed\\.$#"
10
- count: 1
11
- path: src/Engine.php
12
-
13
14
message: "#^Cannot call method extend\\(\\) on mixed\\.$#"
15
count: 1
src/Engine.php
@@ -35,7 +35,7 @@ public function __construct(
35
ModelFactoryInterface $modelFactory,
36
IndexManager $indexManager
37
) {
38
- $this->refreshDocuments = config('elastic.scout_driver.refresh_documents');
+ $this->refreshDocuments = (bool)config('elastic.scout_driver.refresh_documents');
39
40
$this->documentManager = $documentManager;
41
$this->documentFactory = $documentFactory;
0 commit comments