Skip to content

Commit

Permalink
Merge pull request #55 from nabil12ful/master
Browse files Browse the repository at this point in the history
Fix Call to undefined method Shetabit\Visitor\Drivers\UAParser::userAgent()
  • Loading branch information
khanzadimahdi authored Jan 21, 2024
2 parents 0657b93 + 88aa1fb commit 3bcc425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/UAParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ protected function initParser()
{
$parser = Parser::create();

$result = $parser->parse($this->userAgent());
$result = $parser->parse($this->request->userAgent());

return $result;
}
Expand Down

0 comments on commit 3bcc425

Please sign in to comment.