mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 15:23:12 +08:00
Update to PHPUnit 10
This commit is contained in:
@@ -45,7 +45,7 @@ class DefaultShortCodesLengthMiddlewareTest extends TestCase
|
||||
$this->middleware->process($request, $this->handler);
|
||||
}
|
||||
|
||||
public function provideBodies(): iterable
|
||||
public static function provideBodies(): iterable
|
||||
{
|
||||
yield 'value provided' => [[ShortUrlInputFilter::SHORT_CODE_LENGTH => 6], 6];
|
||||
yield 'value not provided' => [[], 8];
|
||||
|
||||
Reference in New Issue
Block a user