Completed
Push — master ( 6b2767...fcb5ef )
by
unknown
40s queued 30s
created
src/PhpSpreadsheet/Calculation/Statistical/Distributions/Weibull.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
30 30
      *            with the same dimensions
31 31
      */
32
-    public static function distribution(mixed $value, mixed $alpha, mixed $beta, mixed $cumulative): array|string|float
32
+    public static function distribution(mixed $value, mixed $alpha, mixed $beta, mixed $cumulative): array | string | float
33 33
     {
34 34
         if (is_array($value) || is_array($alpha) || is_array($beta) || is_array($cumulative)) {
35 35
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $alpha, $beta, $cumulative);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Statistical/Distributions/Normal.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
34 34
      *            with the same dimensions
35 35
      */
36
-    public static function distribution(mixed $value, mixed $mean, mixed $stdDev, mixed $cumulative): array|string|float
36
+    public static function distribution(mixed $value, mixed $mean, mixed $stdDev, mixed $cumulative): array | string | float
37 37
     {
38 38
         if (is_array($value) || is_array($mean) || is_array($stdDev) || is_array($cumulative)) {
39 39
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $mean, $stdDev, $cumulative);
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
76 76
      *            with the same dimensions
77 77
      */
78
-    public static function inverse(mixed $probability, mixed $mean, mixed $stdDev): array|string|float
78
+    public static function inverse(mixed $probability, mixed $mean, mixed $stdDev): array | string | float
79 79
     {
80 80
         if (is_array($probability) || is_array($mean) || is_array($stdDev)) {
81 81
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $probability, $mean, $stdDev);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Statistical/Percentiles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      *
75 75
      * @return float|string (string if result is an error)
76 76
      */
77
-    public static function PERCENTRANK(mixed $valueSet, mixed $value, mixed $significance = 3): string|float
77
+    public static function PERCENTRANK(mixed $valueSet, mixed $value, mixed $significance = 3): string | float
78 78
     {
79 79
         $valueSet = Functions::flattenArray($valueSet);
80 80
         $value = Functions::flattenSingleValue($value);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Statistical/Variances.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      *
20 20
      * @return float|string (string if result is an error)
21 21
      */
22
-    public static function VAR(mixed ...$args): float|string
22
+    public static function VAR(mixed ...$args): float | string
23 23
     {
24 24
         $returnValue = ExcelError::DIV0();
25 25
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      *
62 62
      * @return float|string (string if result is an error)
63 63
      */
64
-    public static function VARA(mixed ...$args): string|float
64
+    public static function VARA(mixed ...$args): string | float
65 65
     {
66 66
         $returnValue = ExcelError::DIV0();
67 67
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      *
108 108
      * @return float|string (string if result is an error)
109 109
      */
110
-    public static function VARP(mixed ...$args): float|string
110
+    public static function VARP(mixed ...$args): float | string
111 111
     {
112 112
         // Return value
113 113
         $returnValue = ExcelError::DIV0();
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      *
151 151
      * @return float|string (string if result is an error)
152 152
      */
153
-    public static function VARPA(mixed ...$args): string|float
153
+    public static function VARPA(mixed ...$args): string | float
154 154
     {
155 155
         $returnValue = ExcelError::DIV0();
156 156
 
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/DateTimeExcel/NetworkDays.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
      *         If an array of values is passed for the $startDate or $endDate arguments, then the returned result
34 34
      *            will also be an array with matching dimensions
35 35
      */
36
-    public static function count(mixed $startDate, mixed $endDate, mixed ...$dateArgs): array|string|int
36
+    public static function count(mixed $startDate, mixed $endDate, mixed ...$dateArgs): array | string | int
37 37
     {
38 38
         if (is_array($startDate) || is_array($endDate)) {
39 39
             return self::evaluateArrayArgumentsSubset(
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/DateTimeExcel/DateParts.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
29 29
      *            with the same dimensions
30 30
      */
31
-    public static function day(mixed $dateValue): array|int|string
31
+    public static function day(mixed $dateValue): array | int | string
32 32
     {
33 33
         if (is_array($dateValue)) {
34 34
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $dateValue);
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
70 70
      *            with the same dimensions
71 71
      */
72
-    public static function month(mixed $dateValue): array|string|int
72
+    public static function month(mixed $dateValue): array | string | int
73 73
     {
74 74
         if (is_array($dateValue)) {
75 75
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $dateValue);
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
109 109
      *            with the same dimensions
110 110
      */
111
-    public static function year(mixed $dateValue): array|string|int
111
+    public static function year(mixed $dateValue): array | string | int
112 112
     {
113 113
         if (is_array($dateValue)) {
114 114
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $dateValue);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/DateTimeExcel/TimeParts.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
28 28
      *            with the same dimensions
29 29
      */
30
-    public static function hour(mixed $timeValue): array|string|int
30
+    public static function hour(mixed $timeValue): array | string | int
31 31
     {
32 32
         if (is_array($timeValue)) {
33 33
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $timeValue);
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
69 69
      *            with the same dimensions
70 70
      */
71
-    public static function minute(mixed $timeValue): array|string|int
71
+    public static function minute(mixed $timeValue): array | string | int
72 72
     {
73 73
         if (is_array($timeValue)) {
74 74
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $timeValue);
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
110 110
      *            with the same dimensions
111 111
      */
112
-    public static function second(mixed $timeValue): array|string|int
112
+    public static function second(mixed $timeValue): array | string | int
113 113
     {
114 114
         if (is_array($timeValue)) {
115 115
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $timeValue);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Csv/Delimiter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 
91 91
             $meanSquareDeviations[$delimiter] = array_reduce(
92 92
                 $series,
93
-                fn ($sum, $value): int|float => $sum + ($value - $median) ** 2
93
+                fn ($sum, $value): int | float => $sum + ($value - $median) ** 2
94 94
             ) / count($series);
95 95
         }
96 96
 
Please login to merge, or discard this patch.
src/PhpSpreadsheet/HashTable.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
      * Get index for hash code.
112 112
      */
113
-    public function getIndexForHashCode(string $hashCode): false|int
113
+    public function getIndexForHashCode(string $hashCode): false | int
114 114
     {
115 115
         return array_search($hashCode, $this->keyMap, true);
116 116
     }
Please login to merge, or discard this patch.