Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypkhantc committed Mar 29, 2024
1 parent ffdbef3 commit e8f2c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FieldsBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ private function getClassDefaultProperties(ReflectionClass $refClass): array
$properties = $refClass->getDefaultProperties();

foreach ($refClass->getConstructor()?->getParameters() ?? [] as $parameter) {
if (!$parameter->isPromoted() || !$parameter->isDefaultValueAvailable()) {
if (! $parameter->isPromoted() || ! $parameter->isDefaultValueAvailable()) {
continue;
}

Expand Down

0 comments on commit e8f2c4a

Please sign in to comment.