Passed
Push — main ( 3c9057...95769b )
by Thierry
10:09 queued 07:11
created
src/AnnotationReader.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -136,15 +136,13 @@
 block discarded – undo
136 136
                 if(isset($aMethodAttrs['protected']))
137 137
                 {
138 138
                     $aProtected[] = $sMethod; // The method is not to be exported.
139
-                }
140
-                elseif(count($aMethodAttrs) > 0)
139
+                } elseif(count($aMethodAttrs) > 0)
141 140
                 {
142 141
                     $aAttributes[$sMethod] = $aMethodAttrs;
143 142
                 }
144 143
             }
145 144
             return [false, $aAttributes, $aProtected];
146
-        }
147
-        catch(AnnotationException $e)
145
+        } catch(AnnotationException $e)
148 146
         {
149 147
             throw new SetupException($e->getMessage());
150 148
         }
Please login to merge, or discard this patch.
src/Annotation/ContainerAnnotation.php 1 patch
Switch Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -197,14 +197,14 @@
 block discarded – undo
197 197
         $nCount = count($this->properties);
198 198
         switch($nCount)
199 199
         {
200
-        case 0:
201
-            return true;
202
-        case 1:
203
-            return isset($this->properties['attr']) || isset($this->properties['class']);
204
-        case 2:
205
-            return isset($this->properties['attr']) && isset($this->properties['class']);
206
-        default:
207
-            return false;
200
+            case 0:
201
+                return true;
202
+            case 1:
203
+                return isset($this->properties['attr']) || isset($this->properties['class']);
204
+            case 2:
205
+                return isset($this->properties['attr']) && isset($this->properties['class']);
206
+            default:
207
+                return false;
208 208
         }
209 209
     }
210 210
 
Please login to merge, or discard this patch.