mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 01:33:11 +08:00
Update to PHPUnit 10
This commit is contained in:
@@ -70,7 +70,7 @@ class OverrideDomainMiddlewareTest extends TestCase
|
||||
$this->middleware->process($request, $this->handler);
|
||||
}
|
||||
|
||||
public function provideBodies(): iterable
|
||||
public static function provideBodies(): iterable
|
||||
{
|
||||
yield 'no domain provided' => [
|
||||
Domain::withAuthority('foo.com'),
|
||||
@@ -117,7 +117,7 @@ class OverrideDomainMiddlewareTest extends TestCase
|
||||
$this->middleware->process($request, $this->handler);
|
||||
}
|
||||
|
||||
public function provideMethods(): iterable
|
||||
public static function provideMethods(): iterable
|
||||
{
|
||||
yield 'GET' => ['GET'];
|
||||
yield 'PUT' => ['PUT'];
|
||||
|
||||
Reference in New Issue
Block a user