فهرست منبع

fix indentation = 4 spaces

Charley Maillot 14 سال پیش
والد
کامیت
e113bc4828
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php
  2. 1 1
      Model/ORM/ModelManager.php

+ 1 - 1
DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php

@@ -184,6 +184,6 @@ class AddDependencyCallsCompilerPass implements CompilerPassInterface
      */
     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)
     {
-       return preg_replace(array('/(^|_)+(.)/e', '/\.(.)/e'), array("strtoupper('\\2')", "'_'.strtoupper('\\1')"), $property);
+        return preg_replace(array('/(^|_)+(.)/e', '/\.(.)/e'), array("strtoupper('\\2')", "'_'.strtoupper('\\1')"), $property);
     }
 
     /**