Skip to content

Commit

Permalink
FRW-7460: Fixed multitype in AbstractValueExtractorStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
vol4onok committed Feb 27, 2024
1 parent e0330b6 commit f16dd51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function createArrayStringFromResult(array $array): string
if (is_string($key) && !$this->isConstant($key)) {
$key = sprintf('\'%s\'', $key);
}
if (is_string($key) && !$this->isConstant($value)) {
if (is_string($value) && !$this->isConstant($value)) {

Check warning on line 94 in src/Builder/Extractor/ValueExtractor/AbstractValueExtractorStrategy.php

View check run for this annotation

Codecov / codecov/patch

src/Builder/Extractor/ValueExtractor/AbstractValueExtractorStrategy.php#L94

Added line #L94 was not covered by tests
$value = sprintf('\'%s\'', $value);
}

Expand Down

0 comments on commit f16dd51

Please sign in to comment.