Pārlūkot izejas kodu

Fix method visibility in Predis\Pipeline\ConnectionErrorProof.

Daniele Alessandri 11 gadi atpakaļ
vecāks
revīzija
dcb57ea08d
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/Pipeline/ConnectionErrorProof.php

+ 2 - 2
src/Pipeline/ConnectionErrorProof.php

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