Skip to content

Commit 130d707

Browse files
Merge branch '5.4' into 6.0
* 5.4: More return type fixes [EventDispatcher] fix getSubscribedEvents() event yielding instead or returning array Update Tagalog translations
2 parents e8e9e8d + 89090d0 commit 130d707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/LockTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ public function delete(Key $key)
456456
unset($this->keys[spl_object_hash($key)]);
457457
}
458458

459-
public function exists(Key $key)
459+
public function exists(Key $key): bool
460460
{
461461
return isset($this->keys[spl_object_hash($key)]);
462462
}
@@ -502,7 +502,7 @@ public function delete(Key $key)
502502
unset($this->keys[spl_object_hash($key)]);
503503
}
504504

505-
public function exists(Key $key)
505+
public function exists(Key $key): bool
506506
{
507507
return isset($this->keys[spl_object_hash($key)]);
508508
}

0 commit comments

Comments
 (0)