@@ -69,7 +69,7 @@  | 
                                                    ||
| 69 | 69 |              'createdAt' => array('type' => 'date'), | 
                                                        
| 70 | 70 |              'publishedAt' => array('type' => 'time'), | 
                                                        
| 71 | 71 |              'updatedAt' => array('type' => 'datetime'), | 
                                                        
| 72 | -            'parent' => array('type' => ClassMetadataInfo::MANY_TO_ONE, 'isOwningSide'=> true ,'targetEntity' => 'FooBundle\Entity\Parent'), | 
                                                        |
| 72 | +            'parent' => array('type' => ClassMetadataInfo::MANY_TO_ONE, 'isOwningSide'=> true, 'targetEntity' => 'FooBundle\Entity\Parent'), | 
                                                        |
| 73 | 73 | );  | 
                                                        
| 74 | 74 | $metadata->fieldNames = array(  | 
                                                        
| 75 | 75 | 'title' => 'title',  | 
                                                        
@@ -174,9 +174,9 @@  | 
                                                    ||
| 174 | 174 | $output->writeln(array(  | 
                                                        
| 175 | 175 | '',  | 
                                                        
| 176 | 176 | 'By default, the generator generate filter code.',  | 
                                                        
| 177 | - '<comment>form</comment> to use LexikFormFilterBundle to search in the entity.',  | 
                                                        |
| 178 | - '<comment>input</comment> to use PetkoparaMultiSearchBundle to search only with one input in the entity.',  | 
                                                        |
| 179 | - '<comment>none</comment> use this to not generate any filter code.',  | 
                                                        |
| 177 | + '<comment>form</comment> to use LexikFormFilterBundle to search in the entity.',  | 
                                                        |
| 178 | + '<comment>input</comment> to use PetkoparaMultiSearchBundle to search only with one input in the entity.',  | 
                                                        |
| 179 | + '<comment>none</comment> use this to not generate any filter code.',  | 
                                                        |
| 180 | 180 | '',  | 
                                                        
| 181 | 181 | ));  | 
                                                        
| 182 | 182 |          $question = new Question($questionHelper->getQuestion('Filter Type (form, input, none)', $filterType), $filterType); | 
                                                        
@@ -108,7 +108,7 @@  | 
                                                    ||
| 108 | 108 | // Convert type to filter widget  | 
                                                        
| 109 | 109 |          foreach ($fieldsData as $fieldName => $data) { | 
                                                        
| 110 | 110 | $fieldWidget = $this->getFilterType($fieldsData[$fieldName]['type']);  | 
                                                        
| 111 | -            if ($fieldWidget!== false) { | 
                                                        |
| 111 | +            if ($fieldWidget !== false) { | 
                                                        |
| 112 | 112 | $fieldsResult[$fieldName]['fieldName'] = $fieldName;  | 
                                                        
| 113 | 113 | $fieldsResult[$fieldName]['filterWidget'] = $this->getFilterType($fieldsData[$fieldName]['type'], $fieldName);  | 
                                                        
| 114 | 114 | }  |