File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public function exceptionError(Throwable $t): ResponseInterface
7575
7676 $ this ->logging ->handleErrorException (
7777 $ t ,
78- Psr7ServerRequest::toZend ($ this ->request )
78+ Psr7ServerRequest::toLaminas ($ this ->request )
7979 );
8080
8181 if ($ this ->errorHeroModuleConfig ['display-settings ' ]['display_errors ' ]) {
Original file line number Diff line number Diff line change 55namespace ErrorHeroModule \Transformer ;
66
77use Doctrine \ORM \EntityManager ;
8- use Laminas \ServiceManager \ServiceManager as ZendServiceManager ;
8+ use Laminas \ServiceManager \ServiceManager as LaminasServiceManager ;
99use Psr \Container \ContainerInterface ;
1010use Webmozart \Assert \Assert ;
1111
1212class Doctrine extends TransformerAbstract implements TransformerInterface
1313{
1414 public static function transform (ContainerInterface $ container , array $ configuration ): ContainerInterface
1515 {
16- Assert::isInstanceOf ($ container , ZendServiceManager ::class);
16+ Assert::isInstanceOf ($ container , LaminasServiceManager ::class);
1717
1818 $ entityManager = $ container ->get (EntityManager::class);
1919 $ doctrineDBALConnection = $ entityManager ->getConnection ();
You can’t perform that action at this time.
0 commit comments