@@ -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', |