Failed Conditions
Pull Request — master (#4452)
by Owen
12:39
created
src/PhpSpreadsheet/Calculation/Database/DProduct.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      *                                        the column label in which you specify a condition for the
31 31
      *                                        column.
32 32
      */
33
-    public static function evaluate(array $database, array|null|int|string $field, array $criteria): string|float
33
+    public static function evaluate(array $database, array | null | int | string $field, array $criteria): string | float
34 34
     {
35 35
         $field = self::fieldExtract($database, $field);
36 36
         if ($field === null) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Database/DAverage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      *                              the column label in which you specify a condition for the
31 31
      *                              column.
32 32
      */
33
-    public static function evaluate(array $database, array|null|int|string $field, array $criteria): string|int|float
33
+    public static function evaluate(array $database, array | null | int | string $field, array $criteria): string | int | float
34 34
     {
35 35
         $field = self::fieldExtract($database, $field);
36 36
         if ($field === null) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Database/DStDev.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(array $database, array|null|int|string $field, array $criteria): float|string
34
+    public static function evaluate(array $database, array | null | int | string $field, array $criteria): float | string
35 35
     {
36 36
         $field = self::fieldExtract($database, $field);
37 37
         if ($field === null) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Database/DSum.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      *                                        the column label in which you specify a condition for the
31 31
      *                                        column.
32 32
      */
33
-    public static function evaluate(array $database, array|null|int|string $field, array $criteria, bool $returnNull = false): null|float|string
33
+    public static function evaluate(array $database, array | null | int | string $field, array $criteria, bool $returnNull = false): null | float | string
34 34
     {
35 35
         $field = self::fieldExtract($database, $field);
36 36
         if ($field === null) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Database/DCountA.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      *                                        the column label in which you specify a condition for the
31 31
      *                                        column.
32 32
      */
33
-    public static function evaluate(array $database, array|null|int|string $field, array $criteria): string|int
33
+    public static function evaluate(array $database, array | null | int | string $field, array $criteria): string | int
34 34
     {
35 35
         $field = self::fieldExtract($database, $field);
36 36
         if ($field === null) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Database/DMin.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(array $database, array|null|int|string $field, array $criteria, bool $returnError = true): float|string|null
34
+    public static function evaluate(array $database, array | null | int | string $field, array $criteria, bool $returnError = true): float | string | null
35 35
     {
36 36
         $field = self::fieldExtract($database, $field);
37 37
         if ($field === null) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Database/DVarP.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      *
34 34
      * @return float|string (string if result is an error)
35 35
      */
36
-    public static function evaluate(array $database, array|null|int|string $field, array $criteria): string|float
36
+    public static function evaluate(array $database, array | null | int | string $field, array $criteria): string | float
37 37
     {
38 38
         $field = self::fieldExtract($database, $field);
39 39
         if ($field === null) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Database/DGet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      *                                        the column label in which you specify a condition for the
31 31
      *                                        column.
32 32
      */
33
-    public static function evaluate(array $database, array|null|int|string $field, array $criteria): null|float|int|string
33
+    public static function evaluate(array $database, array | null | int | string $field, array $criteria): null | float | int | string
34 34
     {
35 35
         $field = self::fieldExtract($database, $field);
36 36
         if ($field === null) {
Please login to merge, or discard this patch.
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(array $database, array|null|int|string $field, array $criteria, bool $returnError = true): string|int
34
+    public static function evaluate(array $database, array | null | int | string $field, array $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.