Przeglądaj źródła

fix indentation = 4 spaces

Charley Maillot 13 lat temu
rodzic
commit
e113bc4828

+ 1 - 1
DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

@@ -184,6 +184,6 @@ class AddDependencyCallsCompilerPass implements CompilerPassInterface
      */
      */
     protected function camelize($property)
     protected function camelize($property)
     {
     {
-         return preg_replace(array('/(^|_)+(.)/e', '/\.(.)/e'), array("strtoupper('\\2')", "'_'.strtoupper('\\1')"), $property);
+        return preg_replace(array('/(^|_)+(.)/e', '/\.(.)/e'), array("strtoupper('\\2')", "'_'.strtoupper('\\1')"), $property);
     }
     }
 }
 }

+ 1 - 1
Model/ORM/ModelManager.php

@@ -370,7 +370,7 @@ class ModelManager implements ModelManagerInterface
      */
      */
     protected function camelize($property)
     protected function camelize($property)
     {
     {
-       return preg_replace(array('/(^|_)+(.)/e', '/\.(.)/e'), array("strtoupper('\\2')", "'_'.strtoupper('\\1')"), $property);
+        return preg_replace(array('/(^|_)+(.)/e', '/\.(.)/e'), array("strtoupper('\\2')", "'_'.strtoupper('\\1')"), $property);
     }
     }
 
 
     /**
     /**