@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | * |
20 | 20 | * @return float Y-Value |
21 | 21 | */ |
22 | - public function getValueOfYForX($xValue): int|float |
|
22 | + public function getValueOfYForX($xValue): int | float |
|
23 | 23 | { |
24 | 24 | return $this->getIntersect() + $this->getSlope() * $xValue; |
25 | 25 | } |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * |
32 | 32 | * @return float X-Value |
33 | 33 | */ |
34 | - public function getValueOfXForY($yValue): int|float |
|
34 | + public function getValueOfXForY($yValue): int | float |
|
35 | 35 | { |
36 | 36 | return ($yValue - $this->getIntersect()) / $this->getSlope(); |
37 | 37 | } |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * |
34 | 34 | * @return float|string (string if result is an error) |
35 | 35 | */ |
36 | - public static function evaluate($database, $field, $criteria): string|float |
|
36 | + public static function evaluate($database, $field, $criteria): string | float |
|
37 | 37 | { |
38 | 38 | $field = self::fieldExtract($database, $field); |
39 | 39 | if ($field === null) { |
@@ -110,7 +110,7 @@ |
||
110 | 110 | * |
111 | 111 | * @return false|SimpleXMLElement |
112 | 112 | */ |
113 | - public function trySimpleXMLLoadString(string $filename): SimpleXMLElement|bool |
|
113 | + public function trySimpleXMLLoadString(string $filename): SimpleXMLElement | bool |
|
114 | 114 | { |
115 | 115 | try { |
116 | 116 | $xml = simplexml_load_string( |
@@ -877,7 +877,7 @@ |
||
877 | 877 | * |
878 | 878 | * @param int $row |
879 | 879 | */ |
880 | - private function applyInlineStyle(Worksheet &$sheet, $row, string $column, array $attributeArray): void |
|
880 | + private function applyInlineStyle(Worksheet & $sheet, $row, string $column, array $attributeArray): void |
|
881 | 881 | { |
882 | 882 | if (!isset($attributeArray['style'])) { |
883 | 883 | return; |