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

Change visibility of some members.

There's no actual need for these ones to be private.
Daniele Alessandri пре 11 година
родитељ
комит
d431ea6dba

+ 2 - 2
lib/Predis/Protocol/Text/ComposableProtocolProcessor.php

@@ -26,8 +26,8 @@ use Predis\Protocol\ResponseReaderInterface;
  */
 class ComposableProtocolProcessor implements ProtocolProcessorInterface
 {
-    private $serializer;
-    private $reader;
+    protected $serializer;
+    protected $reader;
 
     /**
      * @param RequestSerializerInterface $serializer Request serializer.

+ 2 - 2
lib/Predis/Protocol/Text/ProtocolProcessor.php

@@ -28,8 +28,8 @@ use Predis\Protocol\ProtocolProcessorInterface;
  */
 class ProtocolProcessor implements ProtocolProcessorInterface
 {
-    private $mbiterable;
-    private $serializer;
+    protected $mbiterable;
+    protected $serializer;
 
     /**
      *