We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84387b2 commit 7722f88Copy full SHA for 7722f88
app/code/Magento/Customer/Model/ResourceModel/Visitor.php
@@ -7,6 +7,10 @@
7
8
namespace Magento\Customer\Model\ResourceModel;
9
10
+/**
11
+ * Class Visitor
12
+ * @package Magento\Customer\Model\ResourceModel
13
+ */
14
class Visitor extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
15
{
16
/**
@@ -106,8 +110,7 @@ public function fetchCreatedAt(int $visitorId): ?int
106
110
['created_at' => 'visitor_table.created_at']
107
111
)->where(
108
112
'visitor_table.visitor_id = ?',
109
- $visitorId,
- \Zend_Db::BIGINT_TYPE
113
+ (string) $visitorId
114
)->limit(
115
1
116
);
0 commit comments