浏览代码

Fix method visibility in Predis\Pipeline\ConnectionErrorProof.

Daniele Alessandri 11 年之前
父节点
当前提交
dcb57ea08d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/Pipeline/ConnectionErrorProof.php

+ 2 - 2
src/Pipeline/ConnectionErrorProof.php

@@ -54,7 +54,7 @@ class ConnectionErrorProof extends Pipeline
     /**
     /**
      * {@inheritdoc}
      * {@inheritdoc}
      */
      */
-    public function executeSingleNode(NodeConnectionInterface $connection, SplQueue $commands)
+    protected function executeSingleNode(NodeConnectionInterface $connection, SplQueue $commands)
     {
     {
         $responses  = array();
         $responses  = array();
         $sizeOfPipe = count($commands);
         $sizeOfPipe = count($commands);
@@ -86,7 +86,7 @@ class ConnectionErrorProof extends Pipeline
     /**
     /**
      * {@inheritdoc}
      * {@inheritdoc}
      */
      */
-    public function executeCluster(ClusterInterface $connection, SplQueue $commands)
+    protected function executeCluster(ClusterInterface $connection, SplQueue $commands)
     {
     {
         $responses = array();
         $responses = array();
         $sizeOfPipe = count($commands);
         $sizeOfPipe = count($commands);