Skip to content

Commit cd1c9c6

Browse files
committed
Add missing return types
1 parent 17293c3 commit cd1c9c6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/src/Auth/Source/PasswordVerifyTest.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
class PasswordVerifyTest extends TestCase
1616
{
1717
private array $info = ['AuthId' => 'testAuthId'];
18+
1819
private array $config = [
1920
"dsn" => 'sqlite:file::memory:?cache=shared',
2021
"username" => "notused",
@@ -90,7 +91,7 @@ public function testBasicSingleSuccess(): void
9091
}
9192

9293

93-
public function testBasicSingleFailedLogin()
94+
public function testBasicSingleFailedLogin(): void
9495
{
9596
$this->expectException(\SimpleSAML\Error\Error::class);
9697
// Wrong username/password
@@ -99,7 +100,7 @@ public function testBasicSingleFailedLogin()
99100
$this->assertCount(0, $ret);
100101
}
101102

102-
public function testBasicSingleFailedLoginNonExisting()
103+
public function testBasicSingleFailedLoginNonExisting(): void
103104
{
104105
$this->expectException(\SimpleSAML\Error\Error::class);
105106
// Wrong username/password
@@ -109,7 +110,7 @@ public function testBasicSingleFailedLoginNonExisting()
109110
}
110111

111112

112-
public function testBasicSingleFailedLoginNonExistingNoPassword()
113+
public function testBasicSingleFailedLoginNonExistingNoPassword(): void
113114
{
114115
$this->expectException(\SimpleSAML\Error\Error::class);
115116
// Wrong username/password
@@ -137,7 +138,7 @@ public function testJoinSingleSuccess(): void
137138
]);
138139
}
139140

140-
public function testJoinSingleFailedLogin()
141+
public function testJoinSingleFailedLogin(): void
141142
{
142143
$this->expectException(\SimpleSAML\Error\Error::class);
143144
// Wrong username/password
@@ -167,7 +168,7 @@ public function testMultiQuerySuccess(): void
167168
]);
168169
}
169170

170-
public function testMultiQueryFailedLogin()
171+
public function testMultiQueryFailedLogin(): void
171172
{
172173
$this->expectException(\SimpleSAML\Error\Error::class);
173174
// Wrong username/password

0 commit comments

Comments
 (0)