Passed
Pull Request — master (#4428)
by Owen
11:07
created
src/PhpSpreadsheet/Calculation/TextData/Concatenate.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      *
50 50
      * @param array $args data to be concatenated
51 51
      */
52
-    public static function actualCONCATENATE(...$args): array|string
52
+    public static function actualCONCATENATE(...$args): array | string
53 53
     {
54 54
         if (Functions::getCompatibilityMode() === Functions::COMPATIBILITY_GNUMERIC) {
55 55
             return self::CONCATENATE(...$args);
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         return $result;
66 66
     }
67 67
 
68
-    private static function concatenate2Args(array|string $operand1, null|array|bool|float|int|string $operand2): array|string
68
+    private static function concatenate2Args(array | string $operand1, null | array | bool | float | int | string $operand2): array | string
69 69
     {
70 70
         if (is_array($operand1) || is_array($operand2)) {
71 71
             $operand1 = Calculation::boolToString($operand1);
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      *         If an array of values is passed for the $delimiter or $ignoreEmpty arguments, then the returned result
114 114
      *            will also be an array with matching dimensions
115 115
      */
116
-    public static function TEXTJOIN($delimiter = '', $ignoreEmpty = true, mixed ...$args): array|string
116
+    public static function TEXTJOIN($delimiter = '', $ignoreEmpty = true, mixed ...$args): array | string
117 117
     {
118 118
         if (is_array($delimiter) || is_array($ignoreEmpty)) {
119 119
             return self::evaluateArrayArgumentsSubset(
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
      *         If an array of values is passed for the $stringValue or $repeatCount arguments, then the returned result
172 172
      *            will also be an array with matching dimensions
173 173
      */
174
-    public static function builtinREPT(mixed $stringValue, mixed $repeatCount): array|string
174
+    public static function builtinREPT(mixed $stringValue, mixed $repeatCount): array | string
175 175
     {
176 176
         if (is_array($stringValue) || is_array($repeatCount)) {
177 177
             return self::evaluateArrayArguments([self::class, __FUNCTION__], $stringValue, $repeatCount);
Please login to merge, or discard this patch.