Passed
Push — master ( dbed77...896806 )
by Adrien
12:38
created
src/PhpSpreadsheet/Calculation/Engineering/ConvertHex.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
39 39
      *            with the same dimensions
40 40
      */
41
-    public static function toBinary($value, $places = null): array|string
41
+    public static function toBinary($value, $places = null): array | string
42 42
     {
43 43
         if (is_array($value) || is_array($places)) {
44 44
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
146 146
      *            with the same dimensions
147 147
      */
148
-    public static function toOctal($value, $places = null): array|string
148
+    public static function toOctal($value, $places = null): array | string
149 149
     {
150 150
         if (is_array($value) || is_array($places)) {
151 151
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/ConvertOctal.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
45 45
      *            with the same dimensions
46 46
      */
47
-    public static function toBinary($value, $places = null): array|string
47
+    public static function toBinary($value, $places = null): array | string
48 48
     {
49 49
         if (is_array($value) || is_array($places)) {
50 50
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
143 143
      *            with the same dimensions
144 144
      */
145
-    public static function toHex($value, $places = null): array|string
145
+    public static function toHex($value, $places = null): array | string
146 146
     {
147 147
         if (is_array($value) || is_array($places)) {
148 148
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      *
43 43
      * @return int|int[]
44 44
      */
45
-    public static function COLUMN($cellAddress = null, ?Cell $cell = null): int|array
45
+    public static function COLUMN($cellAddress = null, ?Cell $cell = null): int | array
46 46
     {
47 47
         if (self::cellAddressNullOrWhitespace($cellAddress)) {
48 48
             return self::cellColumn($cell);
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      *
138 138
      * @return int|mixed[]
139 139
      */
140
-    public static function ROW($cellAddress = null, ?Cell $cell = null): int|array
140
+    public static function ROW($cellAddress = null, ?Cell $cell = null): int | array
141 141
     {
142 142
         if (self::cellAddressNullOrWhitespace($cellAddress)) {
143 143
             return self::cellRow($cell);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig/Trig/Cotangent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
74 74
      *            with the same dimensions
75 75
      */
76
-    public static function acot($number): array|string|float
76
+    public static function acot($number): array | string | float
77 77
     {
78 78
         if (is_array($number)) {
79 79
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig/IntClass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
22 22
      *            with the same dimensions
23 23
      */
24
-    public static function evaluate($number): array|string|int
24
+    public static function evaluate($number): array | string | int
25 25
     {
26 26
         if (is_array($number)) {
27 27
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig/Floor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * Avoid Scrutinizer problems concerning complexity.
130 130
      */
131
-    private static function argumentsOkPrecise(float $number, float $significance): string|float
131
+    private static function argumentsOkPrecise(float $number, float $significance): string | float
132 132
     {
133 133
         if ($significance == 0.0) {
134 134
             return ExcelError::DIV0();
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      *
146 146
      * @return float|string Rounded Number, or a string containing an error
147 147
      */
148
-    private static function argsOk(float $number, float $significance, int $mode): string|float
148
+    private static function argsOk(float $number, float $significance, int $mode): string | float
149 149
     {
150 150
         if (!$significance) {
151 151
             return ExcelError::DIV0();
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     /**
172 172
      * Avoid Scrutinizer problems concerning complexity.
173 173
      */
174
-    private static function argumentsOk(float $number, float $significance): string|float
174
+    private static function argumentsOk(float $number, float $significance): string | float
175 175
     {
176 176
         if ($significance == 0.0) {
177 177
             return ExcelError::DIV0();
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Financial/Helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @return int|string Result, or a string containing an error
26 26
      */
27
-    public static function daysPerYear($year, $basis = 0): string|int
27
+    public static function daysPerYear($year, $basis = 0): string | int
28 28
     {
29 29
         if (!is_numeric($basis)) {
30 30
             return ExcelError::NAN();
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Statistical/Standardize.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
27 27
      *            with the same dimensions
28 28
      */
29
-    public static function execute($value, $mean, $stdDev): array|string|float
29
+    public static function execute($value, $mean, $stdDev): array | string | float
30 30
     {
31 31
         if (is_array($value) || is_array($mean) || is_array($stdDev)) {
32 32
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $mean, $stdDev);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xlsx.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -705,7 +705,7 @@
 block discarded – undo
705 705
         }
706 706
     }
707 707
 
708
-    private function processDrawing(WorksheetDrawing $drawing): string|null|false
708
+    private function processDrawing(WorksheetDrawing $drawing): string | null | false
709 709
     {
710 710
         $data = null;
711 711
         $filename = $drawing->getPath();
Please login to merge, or discard this patch.