File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ public function getYamlKey()
2828 public function getFormType ()
2929 {
3030 return sprintf (
31- '%s \\ %s \\Form\Type \\%s \\EditType ' ,
32- $ this ->getVariable ('namespace_prefix ' ),
31+ '%s%s \\Form\Type \\%s \\EditType ' ,
32+ $ this ->getVariable ('namespace_prefix ' ) ? $ this -> getVariable ( ' namespace_prefix ' ) . '\\' : '' ,
3333 $ this ->getVariable ('bundle_name ' ),
3434 $ this ->getBaseGeneratorName ()
3535 );
Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ public function getYamlKey()
4646 public function getFormType ()
4747 {
4848 return sprintf (
49- '%s \\ %s \\Form\Type \\%s \\FiltersType ' ,
50- $ this ->getVariable ('namespace_prefix ' ),
49+ '%s%s \\Form\Type \\%s \\FiltersType ' ,
50+ $ this ->getVariable ('namespace_prefix ' ) ? $ this -> getVariable ( ' namespace_prefix ' ) . '\\' : '' ,
5151 $ this ->getVariable ('bundle_name ' ),
5252 $ this ->getBaseGeneratorName ()
5353 );
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ public function getYamlKey()
2828 public function getFormType ()
2929 {
3030 return sprintf (
31- '%s \\ %s \\Form\Type \\%s \\NewType ' ,
32- $ this ->getVariable ('namespace_prefix ' ),
31+ '%s%s \\Form\Type \\%s \\NewType ' ,
32+ $ this ->getVariable ('namespace_prefix ' ) ? $ this -> getVariable ( ' namespace_prefix ' ) . '\\' : '' ,
3333 $ this ->getVariable ('bundle_name ' ),
3434 $ this ->getBaseGeneratorName ()
3535 );
You can’t perform that action at this time.
0 commit comments