Passed
Pull Request — master (#4382)
by Owen
13:59
created
src/PhpSpreadsheet/Calculation/Statistical/Conditional.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * @param null|array|string $condition the criteria that defines which cells will be checked
30 30
      * @param mixed $averageRange Data values
31 31
      */
32
-    public static function AVERAGEIF(mixed $range, null|array|string $condition, mixed $averageRange = []): null|int|float|string
32
+    public static function AVERAGEIF(mixed $range, null | array | string $condition, mixed $averageRange = []): null | int | float | string
33 33
     {
34 34
         if (!is_array($range) || !is_array($averageRange) || array_key_exists(0, $range) || array_key_exists(0, $averageRange)) {
35 35
             $refError = ExcelError::REF();
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      *
56 56
      * @param mixed $args Pairs of Ranges and Criteria
57 57
      */
58
-    public static function AVERAGEIFS(mixed ...$args): null|int|float|string
58
+    public static function AVERAGEIFS(mixed ...$args): null | int | float | string
59 59
     {
60 60
         if (empty($args)) {
61 61
             return 0.0;
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * @param mixed $range Data values, expect array
86 86
      * @param null|array|string $condition the criteria that defines which cells will be counted
87 87
      */
88
-    public static function COUNTIF(mixed $range, null|array|string $condition): string|int
88
+    public static function COUNTIF(mixed $range, null | array | string $condition): string | int
89 89
     {
90 90
         if (
91 91
             !is_array($range)
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      *
120 120
      * @param mixed $args Pairs of Ranges and Criteria
121 121
      */
122
-    public static function COUNTIFS(mixed ...$args): int|string
122
+    public static function COUNTIFS(mixed ...$args): int | string
123 123
     {
124 124
         if (empty($args)) {
125 125
             return 0;
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      *
144 144
      * @param mixed $args Pairs of Ranges and Criteria
145 145
      */
146
-    public static function MAXIFS(mixed ...$args): null|float|string
146
+    public static function MAXIFS(mixed ...$args): null | float | string
147 147
     {
148 148
         if (empty($args)) {
149 149
             return 0.0;
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
      *
166 166
      * @param mixed $args Pairs of Ranges and Criteria
167 167
      */
168
-    public static function MINIFS(mixed ...$args): null|float|string
168
+    public static function MINIFS(mixed ...$args): null | float | string
169 169
     {
170 170
         if (empty($args)) {
171 171
             return 0.0;
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      * @param mixed $range Data values, expecting array
189 189
      * @param mixed $sumRange Data values, expecting array
190 190
      */
191
-    public static function SUMIF(mixed $range, mixed $condition, mixed $sumRange = []): null|float|string
191
+    public static function SUMIF(mixed $range, mixed $condition, mixed $sumRange = []): null | float | string
192 192
     {
193 193
         if (
194 194
             !is_array($range)
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
      *
220 220
      * @param mixed $args Pairs of Ranges and Criteria
221 221
      */
222
-    public static function SUMIFS(mixed ...$args): null|float|string
222
+    public static function SUMIFS(mixed ...$args): null | float | string
223 223
     {
224 224
         if (empty($args)) {
225 225
             return 0.0;
Please login to merge, or discard this patch.