Skip to content

Commit 1d071bb

Browse files
Merge pull request #2 from cloudbeds/fix/deprecation-warning-8.2
Fix/deprecation warning 8.2
2 parents 2aff341 + b1ad235 commit 1d071bb

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

src/Client.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ class Client
6464
*/
6565
private $authorizationMode;
6666

67+
public $dataStore;
68+
69+
public $yamlParser;
70+
6771
/**
6872
* Create a new instance of Client.
6973
*

src/ClientBuilder.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ class ClientBuilder
8383
*/
8484
private $defaultFile = '.okta/okta.yaml';
8585

86+
public $dataStore;
87+
88+
public $yamlParser;
89+
8690
public function __construct($yamlParser = null, $defaultFilePath = null)
8791
{
8892
if(function_exists('posix_getpwuid') && function_exists('posix_getuid')) {

src/DataStore/DefaultDataStore.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ public function executeRequest($method, UriInterface $uri, $body = '', array $op
312312
}
313313
break;
314314
case 'POST':
315+
case 'PUT':
315316
if(null !== $result) {
316317
$cacheManager->delete($uri, $result);
317318
$cacheManager->save($uri, $result);

0 commit comments

Comments
 (0)