Completed
Pull Request — master (#15)
by
unknown
02:34
created
lib/Alcaeus/MongoDbAdapter/Helper/Slave.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@  discard block
 block discarded – undo
29 29
     abstract public function setSlaveOkay($ok = true);
30 30
 
31 31
 
32
-	/**
33
-     * @link http://www.php.net/manual/en/mongocollection.getslaveokay.php
34
-     * @return bool
35
-     */
32
+ /**
33
+  * @link http://www.php.net/manual/en/mongocollection.getslaveokay.php
34
+  * @return bool
35
+  */
36 36
     public function getSlaveOkay()
37 37
     {
38 38
         return $this->readPreference->getMode() != \MongoDB\Driver\ReadPreference::RP_PRIMARY;
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     private function setSlaveOkayFromParameter($ok = true)
42 42
     {
43
-    	$result = $this->getSlaveOkay();
43
+     $result = $this->getSlaveOkay();
44 44
         $this->readPreference = new \MongoDB\Driver\ReadPreference(
45 45
             $ok ? \MongoDB\Driver\ReadPreference::RP_SECONDARY_PREFERRED : \MongoDB\Driver\ReadPreference::RP_PRIMARY,
46 46
             $this->readPreference->getTagSets()
Please login to merge, or discard this patch.
lib/Mongo/MongoGridFSFile.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
13 13
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
14 14
  */
15 15
 
16
-use Alcaeus\MongoDbAdapter\TypeConverter;
17
-
18 16
 class MongoGridFSFile {
19 17
     /**
20 18
      * @link http://php.net/manual/en/class.mongogridfsfile.php#mongogridfsfile.props.file
Please login to merge, or discard this patch.