Skip to content

Commit 7bf726d

Browse files
committed
Fix static analysis
1 parent 0fe3709 commit 7bf726d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/Authentication/HasAccessTokensTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public function testAccessTokens()
5555
['user_id' => $this->user->id, 'type' => 'access_token', 'secret' => 'secretToken2']
5656
);
5757

58+
/** @var AccessToken[] $tokens */
5859
$tokens = $this->user->accessTokens();
5960

6061
$this->assertCount(2, $tokens);

tests/Unit/UserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function testLastLogin()
8787

8888
$last = $this->user->lastLogin();
8989

90-
$this->assertInstanceOf(Login::class, $last);
90+
$this->assertInstanceOf(Login::class, $last); // @phpstan-ignore-line
9191
$this->assertSame($login->id, $last->id);
9292
$this->assertInstanceOf(Time::class, $last->date);
9393
}

0 commit comments

Comments
 (0)