akaunting / laravel-firewall

Web Application Firewall (WAF) package for Laravel
https://akaunting.com
MIT License
943 stars 106 forks source link

Call to undefined method Akaunting\Firewall\Middleware\Agent::isMobile() #39

Closed abedputra closed 3 years ago

abedputra commented 3 years ago

Hi,

Thanks for the great library.

I want to report error, when I fill agent => devices

'devices' => [
                'allow' => ['Mobile'], // i.e. 'Desktop', 'Mobile'
                'block' => [], // i.e. 'Tablet'
            ],

Error

Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined method Akaunting\Firewall\Middleware\Agent::isMobile() in file /Applications/XAMPP/xamppfiles/htdocs/ientry/vendor/akaunting/laravelfirewall/src/Middleware/Agent.php on line 122

Thank you