Completed
Push — master ( fc2e3c...51369d )
by Alessandro
01:46
created
src/Query.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,9 +33,9 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function __construct(
35 35
         Collection $collection,
36
-        int $type=self::TYPE_FIND,
37
-        array $querySettings=[],
38
-        array $options=[]
36
+        int $type = self::TYPE_FIND,
37
+        array $querySettings = [ ],
38
+        array $options = [ ]
39 39
     ) {
40 40
         $this->collection = $collection;
41 41
         $this->querySettings = $querySettings;
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function execute()
52 52
     {
53
-        switch($this->type) {
53
+        switch ($this->type) {
54 54
             case self::TYPE_FIND:
55 55
                     return $this->collection->find($this->querySettings, $this->options);
56 56
                 break;
Please login to merge, or discard this patch.