Passed
Push — master ( c69996...795923 )
by hook
04:33
created
src/DynamoDB/RawDynamoDbQuery.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function finalize()
39 39
     {
40
-        $this->query = array_filter($this->query, function ($value) {
40
+        $this->query = array_filter($this->query, function($value) {
41 41
             return !empty($value) || is_bool($value) || is_numeric($value);
42 42
         });
43 43
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function offsetExists($offset)
60 60
     {
61
-        return isset($this->internal()[$offset]);
61
+        return isset($this->internal()[ $offset ]);
62 62
     }
63 63
 
64 64
     /**
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      */
73 73
     public function offsetGet($offset)
74 74
     {
75
-        return $this->internal()[$offset];
75
+        return $this->internal()[ $offset ];
76 76
     }
77 77
 
78 78
     /**
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     public function offsetSet($offset, $value)
91 91
     {
92
-        $this->internal()[$offset] = $value;
92
+        $this->internal()[ $offset ] = $value;
93 93
     }
94 94
 
95 95
     /**
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     public function offsetUnset($offset)
105 105
     {
106
-        unset($this->internal()[$offset]);
106
+        unset($this->internal()[ $offset ]);
107 107
     }
108 108
 
109 109
     /**
@@ -139,6 +139,6 @@  discard block
 block discarded – undo
139 139
      */
140 140
     private function internal()
141 141
     {
142
-        return [$this->op, $this->query];
142
+        return [ $this->op, $this->query ];
143 143
     }
144 144
 }
145 145
\ No newline at end of file
Please login to merge, or discard this patch.
src/ComparisonOperator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,14 +53,14 @@  discard block
 block discarded – undo
53 53
     {
54 54
         $operator = strtolower($operator);
55 55
         $mapping = static::getOperatorMapping();
56
-        return isset($mapping[$operator]);
56
+        return isset($mapping[ $operator ]);
57 57
     }
58 58
 
59 59
     public static function getDynamoDbOperator($operator)
60 60
     {
61 61
         $mapping = static::getOperatorMapping();
62 62
         $operator = strtolower($operator);
63
-        return $mapping[$operator];
63
+        return $mapping[ $operator ];
64 64
     }
65 65
 
66 66
     public static function getQuerySupportedOperators($isRangeKey = false)
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                 static::BETWEEN,
77 77
             ];
78 78
         }
79
-        return [static::EQ];
79
+        return [ static::EQ ];
80 80
     }
81 81
 
82 82
     public static function isValidQueryOperator($operator, $isRangeKey = false)
@@ -93,6 +93,6 @@  discard block
 block discarded – undo
93 93
     public static function is($op, $dynamoDbOperator)
94 94
     {
95 95
         $mapping = static::getOperatorMapping();
96
-        return $mapping[strtolower($op)] === $dynamoDbOperator;
96
+        return $mapping[ strtolower($op) ] === $dynamoDbOperator;
97 97
     }
98 98
 }
99 99
\ No newline at end of file
Please login to merge, or discard this patch.