From 1d8b7da145059a4fe05ec91b88c36ace5f22b7f5 Mon Sep 17 00:00:00 2001 From: Ishan Sourav Date: Tue, 5 Oct 2021 21:57:40 +0530 Subject: [PATCH] Fix PSR issues in Detector #1939 --- src/Appwrite/Detector/Detector.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Appwrite/Detector/Detector.php b/src/Appwrite/Detector/Detector.php index d2a029fe41..75c4387244 100644 --- a/src/Appwrite/Detector/Detector.php +++ b/src/Appwrite/Detector/Detector.php @@ -26,7 +26,7 @@ class Detector /** * Get OS info - * + * * @return array */ public function getOS(): array @@ -42,7 +42,7 @@ class Detector /** * Get client info - * + * * @return array */ public function getClient(): array @@ -61,7 +61,7 @@ class Detector /** * Get device info - * + * * @return array */ public function getDevice(): array @@ -78,7 +78,7 @@ class Detector */ protected function getDetector(): DeviceDetector { - if(!$this->detctor) { + if (!$this->detctor) { $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->parse();