| @@ -109,7 +109,7 @@ | ||
| 109 | 109 | // Convert type to filter widget | 
| 110 | 110 |          foreach ($fieldsData as $fieldName => $data) { | 
| 111 | 111 | $fieldWidget = $this->getFilterType($fieldsData[$fieldName]['type'], $fieldName); | 
| 112 | -            if ($fieldWidget!== false) { | |
| 112 | +            if ($fieldWidget !== false) { | |
| 113 | 113 | $fieldsResult[$fieldName]['fieldName'] = $fieldName; | 
| 114 | 114 | $fieldsResult[$fieldName]['filterWidget'] = $this->getFilterType($fieldsData[$fieldName]['type'], $fieldName); | 
| 115 | 115 | } | 
| @@ -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 | - '"form" to use LexikFormFilterBundle to search in the entity.', | |
| 178 | - '"input" to use PetkoparaMultiSearchBundle to search only with one input in the entity.', | |
| 179 | - '"none" use this to not generate any filter code.', | |
| 177 | + '"form" to use LexikFormFilterBundle to search in the entity.', | |
| 178 | + '"input" to use PetkoparaMultiSearchBundle to search only with one input in the entity.', | |
| 179 | + '"none" 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); |