mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
test: remove invalid return never
This commit is contained in:
parent
e843fec493
commit
91cad9efc1
@ -34,7 +34,7 @@ class FatalLocator extends FileLocator
|
||||
*
|
||||
* @return false|string The path to the file, or false if not found.
|
||||
*/
|
||||
public function locateFile(string $file, ?string $folder = null, string $ext = 'php'): never
|
||||
public function locateFile(string $file, ?string $folder = null, string $ext = 'php')
|
||||
{
|
||||
$folder ??= 'null';
|
||||
|
||||
|
@ -122,7 +122,7 @@ final class MemcachedHandlerTest extends AbstractHandlerTest
|
||||
$this->assertFalse($this->handler->delete(self::$dummy));
|
||||
}
|
||||
|
||||
public function testDeleteMatching(): never
|
||||
public function testDeleteMatching(): void
|
||||
{
|
||||
// Not implemented for Memcached, should throw an exception
|
||||
$this->expectException(Exception::class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user