Skip to content

Commit

Permalink
fix strict types
Browse files Browse the repository at this point in the history
  • Loading branch information
yatsenkolesh committed May 3, 2023
1 parent 27ed574 commit b438fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/AbRouter/Services/Events/Stats/EventStats.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function getCounters(
* @var Event $event
*/
$userId = empty($event->user_id) ? $event->temporary_user_id : $event->user_id;
if (in_array($event->event, $allDisplayEvents, true) && in_array($userId, $uniqUsers, true)) {
if (in_array($event->event, $allDisplayEvents, true) && in_array($userId, $uniqUsers)) {
$convertDate = $event->created_at->format('Y-m-d');

if (!isset($eventCounters[$event->event][$convertDate])) {
Expand Down

0 comments on commit b438fe7

Please sign in to comment.