Skip to content

Commit

Permalink
Merge pull request #179 from spryker-sdk/bugfix/frw-7460/master-inter…
Browse files Browse the repository at this point in the history
…gator-type-error

FRW-7460: Fixed multitype in AbstractValueExtractorStrategy, Updated CI
  • Loading branch information
vol4onok authored Feb 27, 2024
2 parents b5d7bdf + e0330b6 commit d1b464f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/trigger-remote-pr-in-release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
TARGET_REPO: release-app
SOURCE_PACKAGE_NAME: 'spryker-sdk/integrator'
PR_LABELS: 'composer dependencies'
PR_ASSIGNEES: pavelmaksimov25,DmytroKlymanSpryker
PR_ASSIGNEES: vol4onok,asmarovydlo

on:
release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-remote-pr-in-upgrader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
TARGET_REPO: upgrader
SOURCE_PACKAGE_NAME: 'spryker-sdk/integrator'
PR_LABELS: 'composer dependencies'
PR_ASSIGNEES: pavelmaksimov25,DmytroKlymanSpryker
PR_ASSIGNEES: vol4onok,asmarovydlo

on:
release:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ protected function createArrayStringFromResult(array $array): string

continue;
}
if (!$this->isConstant($key)) {
if (is_string($key) && !$this->isConstant($key)) {
$key = sprintf('\'%s\'', $key);
}
if (!$this->isConstant($value)) {
if (is_string($key) && !$this->isConstant($value)) {
$value = sprintf('\'%s\'', $value);
}

$result[] = sprintf('%s => %s', $key, $value);
$result[] = $key . ' => ' . $value;
}

return sprintf('[%s]', implode(', ', $result));
Expand Down

0 comments on commit d1b464f

Please sign in to comment.