Skip to content

Commit c56e2b1

Browse files
committed
Allow to pass null for cache handler
1 parent ddcd334 commit c56e2b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ClientConfiguration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function __construct(
2020
$this->parameters['event_dispatcher'] = $eventDispatcher;
2121
}
2222

23-
public function setCacheHandler(Cache $handler)
23+
public function setCacheHandler(Cache $handler = null)
2424
{
2525
$this->parameters['cache']['handler'] = $handler;
2626
}
@@ -32,4 +32,4 @@ public function all()
3232
{
3333
return $this->parameters;
3434
}
35-
}
35+
}

0 commit comments

Comments
 (0)