Passed
Push — main ( 0dc4a1...25ab27 )
by Proyecto
03:00
created
src/TAU/Common/helpers.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 
4
-if( ! function_exists("app") ){
5
-    function app($alias = null){
4
+if ( ! function_exists("app")) {
5
+    function app($alias = null) {
6 6
         static $app = null;
7 7
 
8
-        if( $app == null ){
8
+        if ($app == null) {
9 9
             $app = new \League\Container\Container();
10 10
         }
11 11
 
12
-        if( $alias != null )
12
+        if ($alias != null)
13 13
             return $app->get($alias);
14 14
 
15 15
         return $app;
16 16
     }
17 17
 
18
-    if( ! function_exists("getConcrete") ) {
18
+    if ( ! function_exists("getConcrete")) {
19 19
         function getConcrete($entityManager): \ProyectoTAU\TAU\Common\Repository
20 20
         {
21 21
             $em_class = strstr($entityManager, '::', true);
Please login to merge, or discard this patch.