Skip to content

Commit db4f514

Browse files
committed
psalm
1 parent 706e7c0 commit db4f514

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Reader/ApiReader.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,12 @@ public function __construct(
5454
) {
5555
$this->clientFactory = $clientFactory;
5656
$this->importerDefinition = $importerDefinition;
57-
$this->importSourceDefinition = /** @var Api */ $importerDefinition->getImportSourceDefinition();
5857
$this->options = $options;
5958

59+
/** @var Api $apiTmp */
60+
$apiTmp = $importerDefinition->getImportSourceDefinition();
61+
$this->importSourceDefinition = $apiTmp;
62+
6063
Assert::keyExists($this->options, 'api_key');
6164

6265
if (!isset($this->options['pagination_strategy'])) {

0 commit comments

Comments
 (0)