Skip to content

Commit

Permalink
Fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
SOHELAHMED7 committed Mar 16, 2023
1 parent ec2c66e commit 8d51a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/openapi/PropertySchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function __construct(SpecObjectInterface $property, string $name, Compone

$onUpdate = $onDelete = $reference = null;

foreach($property->allOf ?? [] as $element) {
foreach ($property->allOf ?? [] as $element) {
if (!empty($element->{CustomSpecAttr::FK_ON_UPDATE})) {
$onUpdate = $element->{CustomSpecAttr::FK_ON_UPDATE};
}
Expand Down

0 comments on commit 8d51a34

Please sign in to comment.