Passed
Pull Request — develop (#49)
by Pieter van der
25:39 queued 15:03
created
library/tiqr/Tiqr/OcraService/Abstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         $this->logger = $logger;
36 36
 
37 37
         // Set the OCRA suite
38
-        $this->_ocraSuite = $config['ocra.suite'] ?? 'OCRA-1:HOTP-SHA1-6:QH10-S';   // Use tiqr server default suite
38
+        $this->_ocraSuite = $config['ocra.suite'] ?? 'OCRA-1:HOTP-SHA1-6:QH10-S'; // Use tiqr server default suite
39 39
         $this->_ocraParser = new OATH_OCRAParser($this->_ocraSuite);
40 40
     }
41 41
 
Please login to merge, or discard this patch.
library/tiqr/Tiqr/DeviceStorage.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,10 +40,10 @@
 block discarded – undo
40 40
      * @param LoggerInterface $logger
41 41
      * @throws Exception An exception if an unknown storage is requested.
42 42
      */
43
-    public static function getStorage(string $type="dummy", Array $options=array(), LoggerInterface $logger=null)
43
+    public static function getStorage(string $type = "dummy", Array $options = array(), LoggerInterface $logger = null)
44 44
     {
45 45
         if (!$logger)
46
-            $logger=new \Psr\Log\NullLogger();
46
+            $logger = new \Psr\Log\NullLogger();
47 47
 
48 48
         switch ($type) {
49 49
             case "dummy":
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,9 @@
 block discarded – undo
42 42
      */
43 43
     public static function getStorage(string $type="dummy", Array $options=array(), LoggerInterface $logger=null)
44 44
     {
45
-        if (!$logger)
46
-            $logger=new \Psr\Log\NullLogger();
45
+        if (!$logger) {
46
+                    $logger=new \Psr\Log\NullLogger();
47
+        }
47 48
 
48 49
         switch ($type) {
49 50
             case "dummy":
Please login to merge, or discard this patch.