Skip to content

Commit

Permalink
Merge pull request #42 from thomascombe/fix/agent-middleware
Browse files Browse the repository at this point in the history
Fix agent middleware - missing method
  • Loading branch information
denisdulici committed Jun 10, 2021
2 parents fdc8a2c + cf22aac commit 258be5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middleware/Agent.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected function isDevice()

$function = 'is' . ucfirst($allow);

if ($this->$function()) {
if ($this->parser->$function()) {
continue;
}

Expand Down

0 comments on commit 258be5f

Please sign in to comment.