Bläddra i källkod

Update RedisHandler.php

Should be the exec method, not the execute method
shiyangwu520 9 år sedan
förälder
incheckning
d04afcb5d0
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;