Skip to content

Commit 2d24f6d

Browse files
committed
Fix Psalm issues leftover
1 parent 1865191 commit 2d24f6d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Inpsyde/Helpers/FunctionDocBlock.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ public static function normalizeTypesString(string $typesString): array
173173
$splitType = substr($splitType, 1);
174174
$hasNull = $hasNull || (($splitType !== '') && ($splitType !== false));
175175
}
176+
/** @psalm-suppress DocblockTypeContradiction */
176177
if (($splitType === false) || ($splitType === '')) {
177178
continue;
178179
}

psalm.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@
2525
<issueHandlers>
2626
<MixedAssignment errorLevel="suppress" />
2727
<RedundantCastGivenDocblockType errorLevel="suppress" />
28+
<RedundantConditionGivenDocblockType errorLevel="suppress" />
2829
</issueHandlers>
2930
</psalm>

0 commit comments

Comments
 (0)