Skip to content

Commit

Permalink
Use Hyperf/Context/Context instead of Hyperf/Utils/Context. (#4565)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored Mar 1, 2022
1 parent 5406ffd commit 05f6d99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Listener/PageResolverListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
*/
namespace Hyperf\Paginator\Listener;

use Hyperf\Context\Context;
use Hyperf\Event\Contract\ListenerInterface;
use Hyperf\Framework\Event\BootApplication;
use Hyperf\HttpServer\Contract\RequestInterface;
use Hyperf\Paginator\Paginator;
use Hyperf\Utils\ApplicationContext;
use Hyperf\Utils\Context;
use Psr\Http\Message\ServerRequestInterface;

class PageResolverListener implements ListenerInterface
Expand Down
2 changes: 1 addition & 1 deletion tests/PageResolverListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/
namespace HyperfTest\Paginator;

use Hyperf\Context\Context;
use Hyperf\Di\Container;
use Hyperf\Framework\Event\BootApplication;
use Hyperf\HttpServer\Contract\RequestInterface;
Expand All @@ -19,7 +20,6 @@
use Hyperf\Paginator\Listener\PageResolverListener;
use Hyperf\Paginator\Paginator;
use Hyperf\Utils\ApplicationContext;
use Hyperf\Utils\Context;
use Mockery;
use PHPUnit\Framework\TestCase;
use Psr\Http\Message\ServerRequestInterface as PsrServerRequestInterface;
Expand Down

0 comments on commit 05f6d99

Please sign in to comment.