File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111
1212namespace ONGR \ElasticsearchBundle \Mapping ;
1313
14- use Doctrine \Common \ Inflector \Inflector ;
14+ use Doctrine \Inflector \InflectorFactory ;
1515
1616/**
1717 * Utility for string case transformations.
@@ -27,7 +27,7 @@ class Caser
2727 */
2828 public static function camel ($ string )
2929 {
30- return Inflector:: camelize ($ string );
30+ return InflectorFactory:: create ()-> build ()-> camelize ($ string );
3131 }
3232
3333 /**
Original file line number Diff line number Diff line change 2222 "symfony/property-access" : " ^4.4|^5.0" ,
2323 "doctrine/annotations" : " ^1.6" ,
2424 "doctrine/cache" : " ^1.7" ,
25- "doctrine/inflector" : " ^1.3 " ,
25+ "doctrine/inflector" : " ^1.4 || ^2.0 " ,
2626 "doctrine/collections" : " ^1.5" ,
2727 "monolog/monolog" : " ^1.24" ,
2828 "elasticsearch/elasticsearch" : " ^6.0" ,
You can’t perform that action at this time.
0 commit comments