Skip to content

Commit 258be5f

Browse files
authored
Merge pull request #42 from thomascombe/fix/agent-middleware
Fix agent middleware - missing method
2 parents fdc8a2c + cf22aac commit 258be5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Middleware/Agent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ protected function isDevice()
119119

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

122-
if ($this->$function()) {
122+
if ($this->parser->$function()) {
123123
continue;
124124
}
125125

0 commit comments

Comments
 (0)