Completed
Push — 4.0 ( e9991b...604d5a )
by Serhii
02:10
created
src/Detector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,10 +79,10 @@
 block discarded – undo
79 79
         $this->setDataProvider($dataProvider);
80 80
         $this->detectors = [];
81 81
         $this->resultObject = new Result();
82
-        $check = ['os','device', 'browser', 'robots'];
82
+        $check = ['os', 'device', 'browser', 'robots'];
83 83
         foreach ($check as $detectionType) {
84 84
             $className = sprintf('\\EndorphinStudio\\Detector\\Detection\\%s', ucfirst(sprintf('%sDetector', $detectionType)));
85
-            if(class_exists($className)) {
85
+            if (class_exists($className)) {
86 86
                 $this->detectors[$detectionType] = new $className();
87 87
                 $this->detectors[$detectionType]->init($this);
88 88
             }
Please login to merge, or discard this patch.
src/Storage/YamlStorage.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 namespace EndorphinStudio\Detector\Storage;
11 11
 
12 12
 use Symfony\Component\Yaml\Parser;
13
-use Symfony\Component\Yaml\Yaml;
14 13
 
15 14
 /**
16 15
  * Class YamlStorage
Please login to merge, or discard this patch.