Completed
Push — master ( 2e3aab...82fd97 )
by Remy
03:26
created
Repository/Repository.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -85,10 +85,10 @@  discard block
 block discarded – undo
85 85
             if (preg_match($regex, $re->getMessage(), $output)) {
86 86
                 $name = $output['name'];
87 87
 
88
-                $this->logger->info('Dropping index ' . $name);
88
+                $this->logger->info('Dropping index '.$name);
89 89
                 $result = $this->collection->dropIndex($name);
90 90
 
91
-                $this->logger->info('Result from dropping index ' . $name, $result);
91
+                $this->logger->info('Result from dropping index '.$name, $result);
92 92
 
93 93
                 $this->ensureIndex($fields, $options, $callback);
94 94
             }
@@ -524,7 +524,7 @@  discard block
 block discarded – undo
524 524
         $query = [$field => ['$gt' => $min, '$lte' => $max]];
525 525
 
526 526
         $this->logger->info(
527
-            'Counting  ' . $field,
527
+            'Counting  '.$field,
528 528
             [
529 529
                 'filter' => [
530 530
                     $field => ['$gt' => $min, '$lte' => $max]
@@ -580,7 +580,7 @@  discard block
 block discarded – undo
580 580
             ]
581 581
         )->toArray();
582 582
 
583
-        return ArrayAccessor::dget($result, '0.' . $field);
583
+        return ArrayAccessor::dget($result, '0.'.$field);
584 584
 
585 585
     }
586 586
 
@@ -617,7 +617,7 @@  discard block
 block discarded – undo
617 617
             ]
618 618
         )->toArray();
619 619
 
620
-        return ArrayAccessor::dget($result, '0.' . $field);
620
+        return ArrayAccessor::dget($result, '0.'.$field);
621 621
     }
622 622
 
623 623
     /**
@@ -630,7 +630,7 @@  discard block
 block discarded – undo
630 630
     {
631 631
 
632 632
         $this->logger->info(
633
-            'Distinct over ' . $field,
633
+            'Distinct over '.$field,
634 634
             [
635 635
                 'filter' => $filter,
636 636
                 'options' => $options,
@@ -672,28 +672,28 @@  discard block
 block discarded – undo
672 672
          * Sort
673 673
          */
674 674
         if (isset($options[Query::SORT]) && !is_array($options[Query::SORT])) {
675
-            throw new \InvalidArgumentException(Query::SORT . ' option must be an array');
675
+            throw new \InvalidArgumentException(Query::SORT.' option must be an array');
676 676
         }
677 677
 
678 678
         /**
679 679
          * Proj
680 680
          */
681 681
         if (isset($options[Query::PROJECTION]) && !is_array($options[Query::PROJECTION])) {
682
-            throw new \InvalidArgumentException(Query::PROJECTION . ' option must be an array');
682
+            throw new \InvalidArgumentException(Query::PROJECTION.' option must be an array');
683 683
         }
684 684
 
685 685
         /**
686 686
          *  limit
687 687
          */
688 688
         if (isset($options[Query::LIMIT]) && !is_integer($options[Query::LIMIT])) {
689
-            throw new \InvalidArgumentException(Query::LIMIT . " option must be an integer");
689
+            throw new \InvalidArgumentException(Query::LIMIT." option must be an integer");
690 690
         }
691 691
 
692 692
         /**
693 693
          *  offset
694 694
          */
695 695
         if (isset($options[Query::OFFSET]) && !is_integer($options[Query::OFFSET])) {
696
-            throw new \InvalidArgumentException(Query::OFFSET . ' option must be an integer');
696
+            throw new \InvalidArgumentException(Query::OFFSET.' option must be an integer');
697 697
         }
698 698
 
699 699
         // TODO validate other options
Please login to merge, or discard this patch.