Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DjordyKoert committed Jan 5, 2024
1 parent 98bee36 commit 89489b7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion PropertyDescriber/ObjectPropertyDescriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public function describe(array $types, OA\Schema $property, array $groups = null
$weakContext = Util::createWeakContext($property->_context);
$schemas = [new OA\Schema(['ref' => $this->modelRegistry->register(new Model($type, $groups)), '_context' => $weakContext])];

// All of is needed for enums to make sure
if (function_exists('enum_exists') && enum_exists($type->getClassName())) {
$property->allOf = $schemas;
} else {
Expand Down

0 comments on commit 89489b7

Please sign in to comment.