Completed
Push — master ( 837794...775998 )
by
unknown
05:11
created
src/Domain/Model/Repository/Order.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function __construct($direction)
27 27
     {
28
-        $direction = (string)strtoupper($direction);
28
+        $direction = (string) strtoupper($direction);
29 29
         $this->assert($direction);
30 30
         $this->direction = $direction;
31 31
     }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function __toString()
65 65
     {
66
-        return (string)$this->direction;
66
+        return (string) $this->direction;
67 67
     }
68 68
 
69 69
     /**
Please login to merge, or discard this patch.
src/Domain/Model/Repository/Fields.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function add($field)
39 39
     {
40
-        $this->fields[] = (string)$field;
40
+        $this->fields[] = (string) $field;
41 41
     }
42 42
 
43 43
     /**
@@ -45,6 +45,6 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public function get()
47 47
     {
48
-        return (array)$this->fields;
48
+        return (array) $this->fields;
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
src/Domain/Model/Repository/BaseFilter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,8 +81,8 @@  discard block
 block discarded – undo
81 81
      */
82 82
     protected function addFilter($property, $filterName, $value)
83 83
     {
84
-        $filterName = (string)$filterName;
85
-        $property   = (string)$property;
84
+        $filterName = (string) $filterName;
85
+        $property   = (string) $property;
86 86
 
87 87
         $this->filters[$property][$filterName][] = $value;
88 88
     }
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      */
135 135
     public function includesGroup($filterName, array $value)
136 136
     {
137
-        $filterName = (string)$filterName;
137
+        $filterName = (string) $filterName;
138 138
 
139 139
         $this->filters[self::GROUP][$filterName] = array_merge(
140 140
             (!empty($this->filters[self::GROUP][$filterName])) ? $this->filters[self::GROUP][$filterName] : [],
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      */
153 153
     public function notIncludesGroup($filterName, array $value)
154 154
     {
155
-        $filterName = (string)$filterName;
155
+        $filterName = (string) $filterName;
156 156
 
157 157
         $this->filters[self::NOT_GROUP][$filterName] = array_merge(
158 158
             (!empty($this->filters[self::NOT_GROUP][$filterName])) ? $this->filters[self::NOT_GROUP][$filterName] : [],
Please login to merge, or discard this patch.