Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ bin
tests/resources/generated
coverage
.phpunit.result.cache
box.phar
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
Loading
Loading