Skip to content

Commit 91cad9e

Browse files
committed
test: remove invalid return never
1 parent e843fec commit 91cad9e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/_support/Autoloader/FatalLocator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class FatalLocator extends FileLocator
3434
*
3535
* @return false|string The path to the file, or false if not found.
3636
*/
37-
public function locateFile(string $file, ?string $folder = null, string $ext = 'php'): never
37+
public function locateFile(string $file, ?string $folder = null, string $ext = 'php')
3838
{
3939
$folder ??= 'null';
4040

tests/system/Cache/Handlers/MemcachedHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function testDelete(): void
122122
$this->assertFalse($this->handler->delete(self::$dummy));
123123
}
124124

125-
public function testDeleteMatching(): never
125+
public function testDeleteMatching(): void
126126
{
127127
// Not implemented for Memcached, should throw an exception
128128
$this->expectException(Exception::class);

0 commit comments

Comments
 (0)