Passed
Push — v5.x ( 8eee51...080647 )
by Thierry
10:22
created
src/Request/Call/Parameter.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -131,23 +131,23 @@  discard block
 block discarded – undo
131 131
      */
132 132
     public static function make($xValue): ParameterInterface
133 133
     {
134
-        if($xValue instanceof ParameterInterface)
134
+        if ($xValue instanceof ParameterInterface)
135 135
         {
136 136
             return $xValue;
137 137
         }
138
-        if(is_numeric($xValue))
138
+        if (is_numeric($xValue))
139 139
         {
140 140
             return new Parameter(self::NUMERIC_VALUE, $xValue);
141 141
         }
142
-        if(is_string($xValue))
142
+        if (is_string($xValue))
143 143
         {
144 144
             return new Parameter(self::QUOTED_VALUE, $xValue);
145 145
         }
146
-        if(is_bool($xValue))
146
+        if (is_bool($xValue))
147 147
         {
148 148
             return new Parameter(self::BOOL_VALUE, $xValue);
149 149
         }
150
-        if($xValue instanceof JsCall)
150
+        if ($xValue instanceof JsCall)
151 151
         {
152 152
             return new Parameter(self::JS_CALL, $xValue);
153 153
         }
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      */
165 165
     public function jsonSerialize()
166 166
     {
167
-        switch($this->getType())
167
+        switch ($this->getType())
168 168
         {
169 169
         case self::JS_CALL:
170 170
             return $this->getValue()->toArray();
Please login to merge, or discard this patch.