Passed
Pull Request — master (#3718)
by Adrien
14:47
created
Category
src/PhpSpreadsheet/Shared/Trend/LinearBestFit.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Database/DVar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Xml.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Html.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -877,7 +877,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.