- Preparing for full Laminas conversion and some Kernel bugs corrected
This commit is contained in:
1 parent
7badddd72c
commit
93ec2a7e76
8 files changed
+22
-22
No files matched your search
@@ -115,7 +115,7 @@ trait ControllerTrait {
|
||||
public function fromResponse(ResponseInterface $response)
|
||||
{
|
||||
if ( $response->getStatusCode() === 200 ) {
|
||||
if ( $response instanceof \Zend\Diactoros\Response\JsonResponse) {
|
||||
if ( $response instanceof \Laminas\Diactoros\Response\JsonResponse) {
|
||||
return $response->getPayload();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user