Test Failed
Pull Request — develop (#49)
by Pieter van der
04:06 queued 53s
created
library/tiqr/Tiqr/OcraService.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,10 +39,10 @@
 block discarded – undo
39 39
      * @return Tiqr_OcraService_Interface
40 40
      * @throws Exception An exception if an unknown orca service type is requested.
41 41
      */
42
-    public static function getOcraService(string $type="tiqr", array $options=array(), LoggerInterface $logger=null)
42
+    public static function getOcraService(string $type = "tiqr", array $options = array(), LoggerInterface $logger = null)
43 43
     {
44 44
         if (!$logger)
45
-            $logger=new \Psr\Log\NullLogger();
45
+            $logger = new \Psr\Log\NullLogger();
46 46
 
47 47
         switch ($type) {
48 48
             case "tiqr":
Please login to merge, or discard this 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 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,10 +45,10 @@
 block discarded – undo
45 45
      * @param LoggerInterface $logger
46 46
      * @throws Exception An exception if an unknown storage is requested.
47 47
      */
48
-    public static function getStorage($type="dummy", $options=array(), LoggerInterface $logger=null)
48
+    public static function getStorage($type = "dummy", $options = array(), LoggerInterface $logger = null)
49 49
     {
50 50
         if (!$logger)
51
-            $logger=new \Psr\Log\NullLogger();
51
+            $logger = new \Psr\Log\NullLogger();
52 52
 
53 53
         switch ($type) {
54 54
             case "dummy":
Please login to merge, or discard this 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.