Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Commit f0594fb

Browse files
Merge pull request #41 from storyblok/feature/ssl-param-mapi
Feature/ssl param mapi
2 parents 09d6b99 + 9544d86 commit f0594fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Storyblok/ManagementClient.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ class ManagementClient extends BaseClient
2020
* @param string $apiEndpoint
2121
* @param string $apiVersion
2222
*/
23-
function __construct($apiKey = null, $apiEndpoint = "mapi.storyblok.com", $apiVersion = "v1")
23+
function __construct($apiKey = null, $apiEndpoint = "mapi.storyblok.com", $apiVersion = "v1", $ssl = false)
2424
{
25-
parent::__construct($apiKey, $apiEndpoint, $apiVersion, false);
25+
parent::__construct($apiKey, $apiEndpoint, $apiVersion, $ssl);
2626
}
2727

2828
/**
2929
* @param \Psr\Http\Message\ResponseInterface $responseObj
3030
*
3131
* @return \stdClass
3232
*/
33-
public function responseHandler($responseObj)
33+
public function responseHandler($responseObj, $queryString = null)
3434
{
3535
$httpResponseCode = $responseObj->getStatusCode();
3636
$data = (string) $responseObj->getBody();

0 commit comments

Comments
 (0)