Skip to content

Commit

Permalink
fixed psalm warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
yceruto committed Mar 25, 2024
1 parent 9bca7fa commit b188ae5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0"?>
<psalm
findUnusedPsalmSuppress="true"
findUnusedBaselineEntry="false"
findUnusedCode="false"
findUnusedVariablesAndParams="true"
strictBinaryOperands="true"
errorLevel="7"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public function guess(\Reflector $reflector, AbstractAnnotation $annotation, Con
continue;
}

/** @var Body $bodyAttribute */
$bodyAttribute = $attribute->newInstance();

$annotation->requestBody = new OA\RequestBody(required: !$rnt->allowsNull());
Expand Down

0 comments on commit b188ae5

Please sign in to comment.