@@ -94,7 +94,7 @@ |
||
94 | 94 | |
95 | 95 | if (Error::JSON_ERROR_NONE !== $errorCode) { |
96 | 96 | $errorMsg = json_last_error_msg(); |
97 | - switch($operation) { |
|
97 | + switch ($operation) { |
|
98 | 98 | case self::ENCODE_OPERATION: |
99 | 99 | throw new EncodeException($errorMsg, $errorCode); |
100 | 100 | case self::DECODE_OPERATION: |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * |
15 | 15 | * The above copyright notice and this permission notice shall be included in all |
16 | 16 | * copies or substantial portions of the Software. |
17 | - |
|
18 | 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
19 | 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
20 | 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * |
15 | 15 | * The above copyright notice and this permission notice shall be included in all |
16 | 16 | * copies or substantial portions of the Software. |
17 | - |
|
18 | 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
19 | 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
20 | 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public function offsetGet($index) |
50 | 50 | { |
51 | - if($this->offsetExists($index)) { |
|
51 | + if ($this->offsetExists($index)) { |
|
52 | 52 | return $this->options[$index]; |
53 | 53 | } |
54 | 54 | |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | return $option->getValue(); |
110 | 110 | } |
111 | 111 | |
112 | - $values = array_map(function (Option $option) { |
|
112 | + $values = array_map(function(Option $option) { |
|
113 | 113 | if (Option::JSON_NONE === $option->getValue()) { |
114 | 114 | return null; |
115 | 115 | } |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * |
15 | 15 | * The above copyright notice and this permission notice shall be included in all |
16 | 16 | * copies or substantial portions of the Software. |
17 | - |
|
18 | 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
19 | 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
20 | 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * |
15 | 15 | * The above copyright notice and this permission notice shall be included in all |
16 | 16 | * copies or substantial portions of the Software. |
17 | - |
|
18 | 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
19 | 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
20 | 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * |
15 | 15 | * The above copyright notice and this permission notice shall be included in all |
16 | 16 | * copies or substantial portions of the Software. |
17 | - |
|
18 | 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
19 | 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
20 | 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * |
15 | 15 | * The above copyright notice and this permission notice shall be included in all |
16 | 16 | * copies or substantial portions of the Software. |
17 | - |
|
18 | 17 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
19 | 18 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
20 | 19 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |