Completed
Push — master ( 091d0a...0daa93 )
by Raffael
01:36
created
src/Log.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      * @param  Iterable $config
71 71
      * @return Log
72 72
      */
73
-    public function setOptions(? Iterable $config = null): Log
73
+    public function setOptions(? Iterable $config = null) : Log
74 74
     {
75 75
         if ($config === null) {
76 76
             return $this;
@@ -78,11 +78,11 @@  discard block
 block discarded – undo
78 78
 
79 79
         foreach ($config as $option => $value) {
80 80
             if (!isset($value['enabled']) || $value['enabled'] === '1') {
81
-                if(!isset($value['class'])) {
81
+                if (!isset($value['class'])) {
82 82
                     throw new Exception('class option is requred');
83 83
                 }
84 84
 
85
-                if(isset($value['config'])) {
85
+                if (isset($value['config'])) {
86 86
                     $config = $value['config'];
87 87
                 } else {
88 88
                     $config = null;
Please login to merge, or discard this patch.