- Preparing for full Laminas conversion and some Kernel bugs corrected

This commit is contained in:
mcndave committed 2023-01-31 19:12:28 +00:00
1 parent 7badddd72c
commit 93ec2a7e76
8 files changed
+22 -22

No files matched your search

+1 -1
View File
@@ -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();
}
}