Skip to content

Commit

Permalink
WsdlToPhp#280: workaround wrong order of optional/nullable parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
superbiche committed Jun 20, 2023
1 parent 9d9bc56 commit 7cfa2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Struct.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ protected function putRequiredAttributesFirst(StructAttributeContainer $allAttri
}

array_walk($requiredAttributes, [$attributes, 'add']);
array_walk($notRequiredAttributes, [$attributes, 'add']);
array_walk($nullableNotRequiredAttributes, [$attributes, 'add']);
array_walk($notRequiredAttributes, [$attributes, 'add']);

unset($requiredAttributes, $notRequiredAttributes, $nullableNotRequiredAttributes);

Expand Down

0 comments on commit 7cfa2da

Please sign in to comment.