Skip to content

Commit 26ef7f5

Browse files
authored
Merge pull request #223 from cakephp/3.x-psalm
Fix errors reported by psalm.
2 parents 3527074 + 599ece0 commit 26ef7f5

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

psalm-baseline.xml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,2 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="5.x-dev@">
3-
<file src="src/Identity.php">
4-
<NonInvariantDocblockPropertyType occurrences="1">
5-
<code>$identity</code>
6-
</NonInvariantDocblockPropertyType>
7-
</file>
8-
<file src="src/IdentityInterface.php">
9-
<MissingTemplateParam occurrences="1">
10-
<code>ArrayAccess</code>
11-
</MissingTemplateParam>
12-
</file>
13-
</files>
2+
<files psalm-version="5.x-dev@"/>

src/IdentityInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
* This interface is similar to the interface defined in cakephp/authentication
2626
* and uses ArrayAccess to expose public properties of the wrapped identity
2727
* implementation.
28+
*
29+
* @extends \ArrayAccess<array-key, mixed>
2830
*/
2931
interface IdentityInterface extends ArrayAccess
3032
{

0 commit comments

Comments
 (0)