Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Oct 26, 2019. It is now read-only.

Fix Invalid argument foreach#2

Open
SBordier44 wants to merge 2 commits into
docker-php:4.1.36docker-php/docker-php-api:4.1.36from
SBordier44:4.1.36Copy head branch name to clipboard
Open

Fix Invalid argument foreach#2
SBordier44 wants to merge 2 commits into
docker-php:4.1.36docker-php/docker-php-api:4.1.36from
SBordier44:4.1.36Copy head branch name to clipboard

Conversation

@SBordier44

Copy link
Copy Markdown

$values_1 = [];
foreach ($value as $value_1) {
$values_1[] = $this->denormalizer->denormalize($value_1, 'Docker\\API\\Model\\PortBinding', 'json', $context);
if($value)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe use if(is_iterable($value))?

@hanovruslan

Copy link
Copy Markdown

ping

@hanovruslan

Copy link
Copy Markdown

ping @nathandesmet

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.