소스 검색

fix indentation = 4 spaces

Charley Maillot 13 년 전
부모
커밋
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);
     }
 
     /**