Skip to content

Commit 8dc6405

Browse files
panki3aNyholm
authored andcommitted
Update RecordingCachePool.php (#58)
default second argument changed to empty array in method timeCall, because calling call_user_func_array([$this->cachePool, $name], $arguments); is expecting second argument only Array, not NULL.
1 parent c6c3137 commit 8dc6405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cache/RecordingCachePool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected function addCall($call)
5757
*
5858
* @return object
5959
*/
60-
private function timeCall($name, array $arguments = null)
60+
private function timeCall($name, array $arguments = [])
6161
{
6262
$start = microtime(true);
6363
$result = call_user_func_array([$this->cachePool, $name], $arguments);

0 commit comments

Comments
 (0)