Skip to content

Commit

Permalink
Fix Psalm issues leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzap committed Feb 25, 2024
1 parent 1865191 commit 2d24f6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Inpsyde/Helpers/FunctionDocBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ public static function normalizeTypesString(string $typesString): array
$splitType = substr($splitType, 1);
$hasNull = $hasNull || (($splitType !== '') && ($splitType !== false));
}
/** @psalm-suppress DocblockTypeContradiction */
if (($splitType === false) || ($splitType === '')) {
continue;
}
Expand Down
1 change: 1 addition & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
<issueHandlers>
<MixedAssignment errorLevel="suppress" />
<RedundantCastGivenDocblockType errorLevel="suppress" />
<RedundantConditionGivenDocblockType errorLevel="suppress" />
</issueHandlers>
</psalm>

0 comments on commit 2d24f6d

Please sign in to comment.