Passed
Push — main ( 25ab27...21c65b )
by Proyecto
08:42
created
src/TAU/Common/helpers.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,9 @@
 block discarded – undo
8 8
             $app = new \ProyectoTAU\TAU\Common\ContainerExt();
9 9
         }
10 10
 
11
-        if( $alias != null )
12
-            return $app->get($alias);
11
+        if( $alias != null ) {
12
+                    return $app->get($alias);
13
+        }
13 14
 
14 15
         return $app;
15 16
     }
Please login to merge, or discard this patch.
src/TAU/Common/ContainerExt.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,9 +23,11 @@
 block discarded – undo
23 23
     {
24 24
         // \ProyectoTAU\TAU\Common\Logger::debug("$id ".var_export($concrete, true));
25 25
 
26
-        if( $this->has($id, $concrete) ) // Replace concrete if id exists
26
+        if( $this->has($id, $concrete) ) {
27
+            // Replace concrete if id exists
27 28
         {
28 29
             $definition = $this->extend($id);
30
+        }
29 31
             $definition->setConcrete($concrete);
30 32
             return $definition;
31 33
 
Please login to merge, or discard this patch.