Passed
Push — master ( fbe022...81e182 )
by Kirill
05:00
created
src/Attributes/src/Factory.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     private function decorateByAnnotations(ReaderInterface $reader): ReaderInterface
58 58
     {
59
-        if (\interface_exists(DoctrineReaderInterface::class)) {
59
+        if (\interface_exists(DoctrineReaderInterface::class)){
60 60
             $doctrine = new AnnotationReader(new DoctrineAnnotationReader());
61 61
 
62 62
             $reader = new SelectiveReader([$reader, $doctrine]);
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     private function decorateByCache(ReaderInterface $reader): ReaderInterface
73 73
     {
74
-        switch (true) {
74
+        switch (true){
75 75
             case $this->cache instanceof CacheInterface:
76 76
                 return new Psr16CachedReader($reader, $this->cache);
77 77
 
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,8 @@  discard block
 block discarded – undo
56 56
      */
57 57
     private function decorateByAnnotations(ReaderInterface $reader): ReaderInterface
58 58
     {
59
-        if (\interface_exists(DoctrineReaderInterface::class)) {
59
+        if (\interface_exists(DoctrineReaderInterface::class))
60
+        {
60 61
             $doctrine = new AnnotationReader(new DoctrineAnnotationReader());
61 62
 
62 63
             $reader = new SelectiveReader([$reader, $doctrine]);
@@ -71,7 +72,8 @@  discard block
 block discarded – undo
71 72
      */
72 73
     private function decorateByCache(ReaderInterface $reader): ReaderInterface
73 74
     {
74
-        switch (true) {
75
+        switch (true)
76
+        {
75 77
             case $this->cache instanceof CacheInterface:
76 78
                 return new Psr16CachedReader($reader, $this->cache);
77 79
 
Please login to merge, or discard this patch.