Skip to content

Commit ab9cf02

Browse files
committed
Adjusting examples to new format.
1 parent 21acc4a commit ab9cf02

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/caching.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// 'cache' => ['enabled' => false]
2323
//]);
2424

25-
$client = new \Tmdb\Client($token, null, true, [
25+
$client = new \Tmdb\Client($token, [
2626
'cache' => [
2727
'enabled' => true,
2828
'storage' => new \GuzzleHttp\Subscriber\Cache\CacheStorage(

examples/logging.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727

2828
// If you'd like to know what's going on during development, something like this could prove handy.
29-
$client = new \Tmdb\Client($token, null, true, [
29+
$client = new \Tmdb\Client($token, [
3030
'log' => [
3131
'enabled' => true,
3232
'handler' => new \Monolog\Handler\ChromePHPHandler() // chrome php extension

0 commit comments

Comments
 (0)