Skip to content

Commit a6e72a3

Browse files
More return type fixes
1 parent ef260f0 commit a6e72a3

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Adapter/ExtLdap/Collection.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public function count()
6565
/**
6666
* @return \Traversable
6767
*/
68+
#[\ReturnTypeWillChange]
6869
public function getIterator()
6970
{
7071
if (0 === $this->count()) {
@@ -91,6 +92,7 @@ public function getIterator()
9192
/**
9293
* @return bool
9394
*/
95+
#[\ReturnTypeWillChange]
9496
public function offsetExists($offset)
9597
{
9698
$this->toArray();
@@ -101,6 +103,7 @@ public function offsetExists($offset)
101103
/**
102104
* @return mixed
103105
*/
106+
#[\ReturnTypeWillChange]
104107
public function offsetGet($offset)
105108
{
106109
$this->toArray();
@@ -111,6 +114,7 @@ public function offsetGet($offset)
111114
/**
112115
* @return void
113116
*/
117+
#[\ReturnTypeWillChange]
114118
public function offsetSet($offset, $value)
115119
{
116120
$this->toArray();
@@ -121,6 +125,7 @@ public function offsetSet($offset, $value)
121125
/**
122126
* @return void
123127
*/
128+
#[\ReturnTypeWillChange]
124129
public function offsetUnset($offset)
125130
{
126131
$this->toArray();

Tests/Security/CheckLdapCredentialsListenerTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,5 +228,9 @@ public function onAuthenticationSuccess(Request $request, TokenInterface $token,
228228
public function onAuthenticationFailure(Request $request, AuthenticationException $exception): ?Response
229229
{
230230
}
231+
232+
public function createToken(Passport $passport, string $firewallName): TokenInterface
233+
{
234+
}
231235
}
232236
}

0 commit comments

Comments
 (0)