Passed
Push — master ( 68fd71...055281 )
by
unknown
16:29 queued 06:03
created
src/PhpSpreadsheet/Reader/Xlsx/Chart.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         $this->aNamespace = $aNamespace;
35 35
     }
36 36
 
37
-    private static function getAttributeString(SimpleXMLElement $component, string $name): string|null
37
+    private static function getAttributeString(SimpleXMLElement $component, string $name): string | null
38 38
     {
39 39
         $attributes = $component->attributes();
40 40
         if (@isset($attributes[$name])) {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         return null;
45 45
     }
46 46
 
47
-    private static function getAttributeInteger(SimpleXMLElement $component, string $name): int|null
47
+    private static function getAttributeInteger(SimpleXMLElement $component, string $name): int | null
48 48
     {
49 49
         $attributes = $component->attributes();
50 50
         if (@isset($attributes[$name])) {
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         return null;
55 55
     }
56 56
 
57
-    private static function getAttributeBoolean(SimpleXMLElement $component, string $name): bool|null
57
+    private static function getAttributeBoolean(SimpleXMLElement $component, string $name): bool | null
58 58
     {
59 59
         $attributes = $component->attributes();
60 60
         if (@isset($attributes[$name])) {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         return null;
67 67
     }
68 68
 
69
-    private static function getAttributeFloat(SimpleXMLElement $component, string $name): float|null
69
+    private static function getAttributeFloat(SimpleXMLElement $component, string $name): float | null
70 70
     {
71 71
         $attributes = $component->attributes();
72 72
         if (@isset($attributes[$name])) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/ConvertBinary.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
78 78
      *            with the same dimensions
79 79
      */
80
-    public static function toHex($value, $places = null): array|string
80
+    public static function toHex($value, $places = null): array | string
81 81
     {
82 82
         if (is_array($value) || is_array($places)) {
83 83
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
131 131
      *            with the same dimensions
132 132
      */
133
-    public static function toOctal($value, $places = null): array|string
133
+    public static function toOctal($value, $places = null): array | string
134 134
     {
135 135
         if (is_array($value) || is_array($places)) {
136 136
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
Please login to merge, or discard this patch.
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/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.