Преглед изворни кода

Update RedisHandler.php

Should be the exec method, not the execute method
shiyangwu520 пре 10 година
родитељ
комит
d04afcb5d0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Monolog/Handler/RedisHandler.php

+ 1 - 1
src/Monolog/Handler/RedisHandler.php

@@ -76,7 +76,7 @@ class RedisHandler extends AbstractProcessingHandler
             $this->redisClient->multi()
                 ->rpush($this->redisKey, $record["formatted"])
                 ->ltrim($this->redisKey, -$this->capSize, -1)
-                ->execute();
+                ->exec();
         } else {
             $redisKey = $this->redisKey;
             $capSize = $this->capSize;