Skip to content

Commit

Permalink
fixup! Upgrade Psalm to 5.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Sep 1, 2023
1 parent 2d1be88 commit 73758c7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ReflectionTools.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ private function exportFunctionParameters(ReflectionFunctionAbstract $function)

if ($parameter->isDefaultValueAvailable()) {
if ($parameter->isDefaultValueConstant()) {
/** @psalm-suppress PossiblyNullOperand https://github.com/vimeo/psalm/pull/9115 */
$result .= ' = ' . '\\' . $parameter->getDefaultValueConstantName();
} else {
$result .= ' = ' . VarExporter::export($parameter->getDefaultValue(), VarExporter::INLINE_ARRAY);
Expand Down

0 comments on commit 73758c7

Please sign in to comment.