@@ -90,11 +90,11 @@ |
||
90 | 90 | $dataProvider->setCacheEnabled(true); |
91 | 91 | $this->setDataProvider($dataProvider); |
92 | 92 | $this->detectors = []; |
93 | - $check = ['os','device', 'browser', 'robot']; |
|
93 | + $check = ['os', 'device', 'browser', 'robot']; |
|
94 | 94 | Tools::setWindowsConfig($dataProvider->getConfig()['windows']); |
95 | 95 | foreach ($check as $detectionType) { |
96 | 96 | $className = sprintf('\\EndorphinStudio\\Detector\\Detection\\%s', ucfirst(sprintf('%sDetector', $detectionType))); |
97 | - if(class_exists($className)) { |
|
97 | + if (class_exists($className)) { |
|
98 | 98 | $this->detectors[$detectionType] = new $className(); |
99 | 99 | $this->detectors[$detectionType]->init($this); |
100 | 100 | } |