@@ -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 | |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | |
112 | 112 | /** @var Option $firstOption */ |
113 | 113 | $firstOption = $this->options[0]; |
114 | - $bitwiseResult = $firstOption->getValue(); |
|
114 | + $bitwiseResult = $firstOption->getValue(); |
|
115 | 115 | $options = array_slice($this->options, 1); |
116 | 116 | |
117 | 117 | /** @var Option $option */ |
@@ -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 |