@@ -281,6 +281,11 @@ discard block |
||
281 | 281 | return isset($c->v) ? (string) $c->v : null; |
282 | 282 | } |
283 | 283 | |
284 | + /** |
|
285 | + * @param string $r |
|
286 | + * @param string $cellDataType |
|
287 | + * @param string $castBaseType |
|
288 | + */ |
|
284 | 289 | private function castToFormula($c, $r, &$cellDataType, &$value, &$calculatedValue, &$sharedFormulas, $castBaseType) |
285 | 290 | { |
286 | 291 | $cellDataType = 'f'; |
@@ -341,7 +346,7 @@ discard block |
||
341 | 346 | * |
342 | 347 | * @param string $xml |
343 | 348 | * |
344 | - * @return mixed |
|
349 | + * @return string |
|
345 | 350 | */ |
346 | 351 | private function removeNamespaces($xml) |
347 | 352 | { |
@@ -2179,6 +2184,9 @@ discard block |
||
2179 | 2184 | return preg_replace('~[^/]+/\.\./~', '', dirname($base) . "/$add"); |
2180 | 2185 | } |
2181 | 2186 | |
2187 | + /** |
|
2188 | + * @param string $style |
|
2189 | + */ |
|
2182 | 2190 | private static function toCSSArray($style) |
2183 | 2191 | { |
2184 | 2192 | $style = str_replace(["\r", "\n"], '', $style); |