Test Failed
Pull Request — develop (#49)
by Pieter van der
04:06 queued 53s
created
library/tiqr/Tiqr/OcraService.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,9 @@
 block discarded – undo
41 41
      */
42 42
     public static function getOcraService(string $type="tiqr", array $options=array(), LoggerInterface $logger=null)
43 43
     {
44
-        if (!$logger)
45
-            $logger=new \Psr\Log\NullLogger();
44
+        if (!$logger) {
45
+                    $logger=new \Psr\Log\NullLogger();
46
+        }
46 47
 
47 48
         switch ($type) {
48 49
             case "tiqr":
Please login to merge, or discard this patch.
library/tiqr/Tiqr/DeviceStorage.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,9 @@
 block discarded – undo
47 47
      */
48 48
     public static function getStorage($type="dummy", $options=array(), LoggerInterface $logger=null)
49 49
     {
50
-        if (!$logger)
51
-            $logger=new \Psr\Log\NullLogger();
50
+        if (!$logger) {
51
+                    $logger=new \Psr\Log\NullLogger();
52
+        }
52 53
 
53 54
         switch ($type) {
54 55
             case "dummy":
Please login to merge, or discard this patch.