Fix type error in meta in SubscribersEmailCount task
[MAILPOET-4281]
This commit is contained in:
@@ -126,6 +126,6 @@ class SubscribersEmailCountsController {
|
||||
|
||||
$subscribersInRange = $result->fetchAllAssociative();
|
||||
|
||||
return [$subscribersInRange[0]['count'], $subscribersInRange[0]['max']];
|
||||
return [(int)$subscribersInRange[0]['count'], (int)$subscribersInRange[0]['max']];
|
||||
}
|
||||
}
|
||||
|
@@ -1106,6 +1106,11 @@ parameters:
|
||||
count: 2
|
||||
path: ../../lib/Subscribers/InactiveSubscribersController.php
|
||||
|
||||
-
|
||||
message: "#^Cannot cast mixed to int\\.$#"
|
||||
count: 2
|
||||
path: ../../lib/Subscribers/SubscribersEmailCountsController.php
|
||||
|
||||
-
|
||||
message: "#^Cannot cast mixed to int\\.$#"
|
||||
count: 3
|
||||
|
@@ -1106,6 +1106,11 @@ parameters:
|
||||
count: 2
|
||||
path: ../../lib/Subscribers/InactiveSubscribersController.php
|
||||
|
||||
-
|
||||
message: "#^Cannot cast mixed to int\\.$#"
|
||||
count: 2
|
||||
path: ../../lib/Subscribers/SubscribersEmailCountsController.php
|
||||
|
||||
-
|
||||
message: "#^Cannot cast mixed to int\\.$#"
|
||||
count: 3
|
||||
|
Reference in New Issue
Block a user