@@ -81,7 +81,7 @@ |
||
81 | 81 | * @param string $format Format name |
82 | 82 | * @param array $context options that normalizers/encoders have access to |
83 | 83 | * |
84 | - * @return scalar |
|
84 | + * @return string |
|
85 | 85 | * |
86 | 86 | * @throws UnexpectedValueException |
87 | 87 | */ |
@@ -92,8 +92,8 @@ discard block |
||
92 | 92 | |
93 | 93 | $encodedData = Yaml::dump( |
94 | 94 | $data, |
95 | - $context[ self::OPTION_INLINE ], |
|
96 | - $context[ self::OPTION_INDENT ], |
|
95 | + $context[self::OPTION_INLINE], |
|
96 | + $context[self::OPTION_INDENT], |
|
97 | 97 | $options |
98 | 98 | ); |
99 | 99 | |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | $bitMaskedOption = 0; |
141 | 141 | |
142 | 142 | foreach ($optionToBitMap as $option => $bitMask) { |
143 | - if ($options[ $option ]) { |
|
143 | + if ($options[$option]) { |
|
144 | 144 | $bitMaskedOption = $bitMaskedOption | $bitMask; |
145 | 145 | } |
146 | 146 | } |
@@ -124,7 +124,7 @@ |
||
124 | 124 | $bitMaskedOption = 0; |
125 | 125 | |
126 | 126 | foreach ($optionToBitMap as $option => $bitMask) { |
127 | - if ($options[ $option ]) { |
|
127 | + if ($options[$option]) { |
|
128 | 128 | $bitMaskedOption = $bitMaskedOption | $bitMask; |
129 | 129 | } |
130 | 130 | } |