Completed
Pull Request — master (#182)
by
unknown
02:54
created
lib/Mongo/MongoBinData.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 
16 16
 use Alcaeus\MongoDbAdapter\TypeInterface;
17 17
 use MongoDB\BSON\Binary;
18
-use MongoDB\BSON\Type;
19 18
 
20 19
 class MongoBinData implements TypeInterface
21 20
 {
Please login to merge, or discard this patch.
lib/Mongo/MongoCursor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use Alcaeus\MongoDbAdapter\TypeConverter;
22 22
 use Alcaeus\MongoDbAdapter\ExceptionConverter;
23 23
 use MongoDB\Driver\Cursor;
24
-use MongoDB\Driver\ReadPreference;
25 24
 use MongoDB\Operation\Find;
26 25
 
27 26
 /**
Please login to merge, or discard this patch.
lib/Alcaeus/MongoDbAdapter/TypeConverter.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -176,8 +176,8 @@
 block discarded – undo
176 176
             case $value instanceof Model\BSONDocument:
177 177
             case $value instanceof Model\BSONArray:
178 178
 
179
-            	if($value->sec && $value->usec)
180
-            		return new \MongoDate($value->sec, $value->usec);
179
+             if($value->sec && $value->usec)
180
+              return new \MongoDate($value->sec, $value->usec);
181 181
 
182 182
                 return array_map(
183 183
                     ['self', 'toLegacy'],
Please login to merge, or discard this patch.