Skip to content

Commit 7d67121

Browse files
committed
try to satisfy psalm
1 parent c3cdd17 commit 7d67121

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/AbstractLapiClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
abstract class AbstractLapiClient extends AbstractClient
1616
{
1717
/**
18-
* @var array|TBouncerConfig
18+
* @var TBouncerConfig
1919
*/
2020
protected $configs;
2121
/**

tools/coding-standards/psalm/psalm.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,10 @@
4040
<directory name="../../../src"/>
4141
</errorLevel>
4242
</MissingClassConstType>
43+
<NonInvariantDocblockPropertyType>
44+
<errorLevel type="suppress">
45+
<file name="../../../src/AbstractLapiClient.php"/>
46+
</errorLevel>
47+
</NonInvariantDocblockPropertyType>
4348
</issueHandlers>
4449
</psalm>

0 commit comments

Comments
 (0)