Passed
Pull Request — master (#3718)
by Adrien
14:12
created
Category
src/PhpSpreadsheet/Calculation/Database/DCount.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      *                                        the column label in which you specify a condition for the
32 32
      *                                        column.
33 33
      */
34
-    public static function evaluate($database, $field, $criteria, bool $returnError = true): string|int
34
+    public static function evaluate($database, $field, $criteria, bool $returnError = true): string | int
35 35
     {
36 36
         $field = self::fieldExtract($database, $field);
37 37
         if ($returnError && $field === null) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/ConvertOctal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 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/Engineering/ConvertDecimal.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
46 46
      *            with the same dimensions
47 47
      */
48
-    public static function toBinary($value, $places = null): array|string
48
+    public static function toBinary($value, $places = null): array | string
49 49
     {
50 50
         if (is_array($value) || is_array($places)) {
51 51
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
103 103
      *            with the same dimensions
104 104
      */
105
-    public static function toHex($value, $places = null): array|string
105
+    public static function toHex($value, $places = null): array | string
106 106
     {
107 107
         if (is_array($value) || is_array($places)) {
108 108
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
179 179
      *            with the same dimensions
180 180
      */
181
-    public static function toOctal($value, $places = null): array|string
181
+    public static function toOctal($value, $places = null): array | string
182 182
     {
183 183
         if (is_array($value) || is_array($places)) {
184 184
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value, $places);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/Complex.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
75 75
      *            with the same dimensions
76 76
      */
77
-    public static function IMAGINARY($complexNumber): array|string|float
77
+    public static function IMAGINARY($complexNumber): array | string | float
78 78
     {
79 79
         if (is_array($complexNumber)) {
80 80
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
105 105
      *            with the same dimensions
106 106
      */
107
-    public static function IMREAL($complexNumber): array|string|float
107
+    public static function IMREAL($complexNumber): array | string | float
108 108
     {
109 109
         if (is_array($complexNumber)) {
110 110
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $complexNumber);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/LookupRef/Address.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      *         If an array of values is passed as the $testValue argument, then the returned result will also be
49 49
      *            an array with the same dimensions
50 50
      */
51
-    public static function cell($row, $column, $relativity = 1, $referenceStyle = true, $sheetName = ''): array|string
51
+    public static function cell($row, $column, $relativity = 1, $referenceStyle = true, $sheetName = ''): array | string
52 52
     {
53 53
         if (
54 54
             is_array($row) || is_array($column) ||
Please login to merge, or discard this patch.