mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Replace ControllerInterface with PSR-15 interface
The custom interface already had the same signature as the one from the standard (except for the return type hint), so why not use that one now? :)
This commit is contained in:
@@ -11,16 +11,16 @@
|
||||
|
||||
namespace Flarum\Tests\Api\Controller;
|
||||
|
||||
use Flarum\Http\Controller\ControllerInterface;
|
||||
use Flarum\Tests\Test\TestCase;
|
||||
use Flarum\User\User;
|
||||
use Illuminate\Support\Arr;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Server\RequestHandlerInterface;
|
||||
|
||||
abstract class ApiControllerTestCase extends TestCase
|
||||
{
|
||||
/**
|
||||
* @var ControllerInterface
|
||||
* @var RequestHandlerInterface
|
||||
*/
|
||||
protected $controller;
|
||||
|
||||
|
Reference in New Issue
Block a user