mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Fixed PSR issues for Detector Library
This commit is contained in:
parent
301e3c3e1a
commit
c9b8175a90
1 changed files with 4 additions and 4 deletions
|
|
@ -78,7 +78,7 @@ class Detector
|
||||||
*/
|
*/
|
||||||
protected function getDetector(): DeviceDetector
|
protected function getDetector(): DeviceDetector
|
||||||
{
|
{
|
||||||
if(!$this->detctor) {
|
if (!$this->detctor) {
|
||||||
$this->detctor = new DeviceDetector($this->userAgent);
|
$this->detctor = new DeviceDetector($this->userAgent);
|
||||||
$this->detctor->skipBotDetection(); // OPTIONAL: If called, bot detection will completely be skipped (bots will be detected as regular devices then)
|
$this->detctor->skipBotDetection(); // OPTIONAL: If called, bot detection will completely be skipped (bots will be detected as regular devices then)
|
||||||
$this->detctor->parse();
|
$this->detctor->parse();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue