Passed
Pull Request — master (#4119)
by Adrien
15:02
created
tests/PhpSpreadsheetTests/Calculation/Engine/RangeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     /**
37 37
      * @dataProvider providerRangeEvaluation
38 38
      */
39
-    public function testRangeEvaluation(string $formula, int|string $expectedResult): void
39
+    public function testRangeEvaluation(string $formula, int | string $expectedResult): void
40 40
     {
41 41
         $this->spreadSheet = $this->getSpreadsheet();
42 42
         $workSheet = $this->spreadSheet->getActiveSheet();
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Information/ErrorValue.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      * @return array|bool If an array of numbers is passed as an argument, then the returned result will also be an array
19 19
      *            with the same dimensions
20 20
      */
21
-    public static function isErr(mixed $value = ''): array|bool
21
+    public static function isErr(mixed $value = ''): array | bool
22 22
     {
23 23
         if (is_array($value)) {
24 24
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * @return array|bool If an array of numbers is passed as an argument, then the returned result will also be an array
37 37
      *            with the same dimensions
38 38
      */
39
-    public static function isError(mixed $value = '', bool $tryNotImplemented = false): array|bool
39
+    public static function isError(mixed $value = '', bool $tryNotImplemented = false): array | bool
40 40
     {
41 41
         if (is_array($value)) {
42 42
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * @return array|bool If an array of numbers is passed as an argument, then the returned result will also be an array
62 62
      *            with the same dimensions
63 63
      */
64
-    public static function isNa(mixed $value = ''): array|bool
64
+    public static function isNa(mixed $value = ''): array | bool
65 65
     {
66 66
         if (is_array($value)) {
67 67
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/TextData/Text.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      * @return array|int|string If an array of values is passed for the argument, then the returned result
22 22
      *            will also be an array with matching dimensions
23 23
      */
24
-    public static function length(mixed $value = ''): array|int|string
24
+    public static function length(mixed $value = ''): array | int | string
25 25
     {
26 26
         if (is_array($value)) {
27 27
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $value);
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * @return array|bool|string If an array of values is passed for either of the arguments, then the returned result
50 50
      *            will also be an array with matching dimensions
51 51
      */
52
-    public static function exact(mixed $value1, mixed $value2): array|bool|string
52
+    public static function exact(mixed $value1, mixed $value2): array | bool | string
53 53
     {
54 54
         if (is_array($value1) || is_array($value2)) {
55 55
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $value1, $value2);
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * @return array|string If an array of values is passed for the argument, then the returned result
75 75
      *            will also be an array with matching dimensions
76 76
      */
77
-    public static function test(mixed $testValue = ''): array|string
77
+    public static function test(mixed $testValue = ''): array | string
78 78
     {
79 79
         if (is_array($testValue)) {
80 80
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $testValue);
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      *
109 109
      * @return array|string the array built from the text, split by the row and column delimiters, or an error string
110 110
      */
111
-    public static function split(mixed $text, $columnDelimiter = null, $rowDelimiter = null, bool $ignoreEmpty = false, bool $matchMode = true, mixed $padding = '#N/A'): array|string
111
+    public static function split(mixed $text, $columnDelimiter = null, $rowDelimiter = null, bool $ignoreEmpty = false, bool $matchMode = true, mixed $padding = '#N/A'): array | string
112 112
     {
113 113
         $text = Functions::flattenSingleValue($text);
114 114
         if (ErrorValue::isError($text, true)) {
Please login to merge, or discard this patch.