Failed Conditions
Pull Request — master (#3723)
by Adrien
14:15
created
src/PhpSpreadsheet/Calculation/Engineering/Compare.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 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 DELTA($a, $b = 0.0): array|string|int
32
+    public static function DELTA($a, $b = 0.0): array | string | int
33 33
     {
34 34
         if (is_array($a) || is_array($b)) {
35 35
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $a, $b);
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
65 65
      *            with the same dimensions
66 66
      */
67
-    public static function GESTEP($number, $step = 0.0): array|string|int
67
+    public static function GESTEP($number, $step = 0.0): array | string | int
68 68
     {
69 69
         if (is_array($number) || is_array($step)) {
70 70
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $step);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/ComplexOperations.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 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 IMDIV($complexDividend, $complexDivisor): array|string
32
+    public static function IMDIV($complexDividend, $complexDivisor): array | string
33 33
     {
34 34
         if (is_array($complexDividend) || is_array($complexDivisor)) {
35 35
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $complexDividend, $complexDivisor);
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
60 60
      *            with the same dimensions
61 61
      */
62
-    public static function IMSUB($complexNumber1, $complexNumber2): array|string
62
+    public static function IMSUB($complexNumber1, $complexNumber2): array | string
63 63
     {
64 64
         if (is_array($complexNumber1) || is_array($complexNumber2)) {
65 65
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $complexNumber1, $complexNumber2);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/BesselJ.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
35 35
      *            with the same dimensions
36 36
      */
37
-    public static function BESSELJ($x, $ord): array|string|float
37
+    public static function BESSELJ($x, $ord): array | string | float
38 38
     {
39 39
         if (is_array($x) || is_array($ord)) {
40 40
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $x, $ord);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/BitWise.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
42 42
      *            with the same dimensions
43 43
      */
44
-    public static function BITAND($number1, $number2): array|string|int
44
+    public static function BITAND($number1, $number2): array | string | int
45 45
     {
46 46
         if (is_array($number1) || is_array($number2)) {
47 47
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $number1, $number2);
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
77 77
      *            with the same dimensions
78 78
      */
79
-    public static function BITOR($number1, $number2): array|string|int
79
+    public static function BITOR($number1, $number2): array | string | int
80 80
     {
81 81
         if (is_array($number1) || is_array($number2)) {
82 82
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $number1, $number2);
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
113 113
      *            with the same dimensions
114 114
      */
115
-    public static function BITXOR($number1, $number2): array|string|int
115
+    public static function BITXOR($number1, $number2): array | string | int
116 116
     {
117 117
         if (is_array($number1) || is_array($number2)) {
118 118
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $number1, $number2);
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
149 149
      *            with the same dimensions
150 150
      */
151
-    public static function BITLSHIFT($number, $shiftAmount): array|string|float
151
+    public static function BITLSHIFT($number, $shiftAmount): array | string | float
152 152
     {
153 153
         if (is_array($number) || is_array($shiftAmount)) {
154 154
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $shiftAmount);
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
187 187
      *            with the same dimensions
188 188
      */
189
-    public static function BITRSHIFT($number, $shiftAmount): array|string|float
189
+    public static function BITRSHIFT($number, $shiftAmount): array | string | float
190 190
     {
191 191
         if (is_array($number) || is_array($shiftAmount)) {
192 192
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $number, $shiftAmount);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/ErfC.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      *
53 53
      * @return float
54 54
      */
55
-    private static function erfcValue($value): float|int
55
+    private static function erfcValue($value): float | int
56 56
     {
57 57
         $value = (float) $value;
58 58
         if (abs($value) < 2.2) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/Complex.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
33 33
      *            with the same dimensions
34 34
      */
35
-    public static function COMPLEX($realNumber = 0.0, $imaginary = 0.0, $suffix = 'i'): array|string
35
+    public static function COMPLEX($realNumber = 0.0, $imaginary = 0.0, $suffix = 'i'): array | string
36 36
     {
37 37
         if (is_array($realNumber) || is_array($imaginary) || is_array($suffix)) {
38 38
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $realNumber, $imaginary, $suffix);
@@ -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/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/BesselK.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
33 33
      *            with the same dimensions
34 34
      */
35
-    public static function BESSELK($x, $ord): array|string|float
35
+    public static function BESSELK($x, $ord): array | string | float
36 36
     {
37 37
         if (is_array($x) || is_array($ord)) {
38 38
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $x, $ord);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering/Erf.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      *         If an array of numbers is passed as an argument, then the returned result will also be an array
36 36
      *            with the same dimensions
37 37
      */
38
-    public static function ERF($lower, $upper = null): array|float|string
38
+    public static function ERF($lower, $upper = null): array | float | string
39 39
     {
40 40
         if (is_array($lower) || is_array($upper)) {
41 41
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $lower, $upper);
Please login to merge, or discard this patch.