@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | /** |
| 81 | 81 | * Set parent. |
| 82 | 82 | * |
| 83 | - * @param Ae\FeatureBundle\Entity\Feature $parent |
|
| 83 | + * @param Feature $parent |
|
| 84 | 84 | */ |
| 85 | 85 | public function setParent(\Ae\FeatureBundle\Entity\Feature $parent) |
| 86 | 86 | { |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | /** |
| 91 | 91 | * Get parent. |
| 92 | 92 | * |
| 93 | - * @return mixed |
|
| 93 | + * @return Feature |
|
| 94 | 94 | */ |
| 95 | 95 | public function getParent() |
| 96 | 96 | { |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | /** |
| 151 | 151 | * Get role. |
| 152 | 152 | * |
| 153 | - * @return text |
|
| 153 | + * @return string |
|
| 154 | 154 | */ |
| 155 | 155 | public function getRole() |
| 156 | 156 | { |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | /** |
| 166 | 166 | * Add children. |
| 167 | 167 | * |
| 168 | - * @param Ae\FeatureBundle\Entity\Feature $children |
|
| 168 | + * @param Feature $children |
|
| 169 | 169 | */ |
| 170 | 170 | public function addFeature(\Ae\FeatureBundle\Entity\Feature $children) |
| 171 | 171 | { |
@@ -57,11 +57,11 @@ |
||
| 57 | 57 | if (!$this->getSubject()->getParent()) { |
| 58 | 58 | $formMapper |
| 59 | 59 | ->add('children', 'sonata_type_collection', array( |
| 60 | - 'required' => false, |
|
| 61 | - ), array( |
|
| 62 | - 'edit' => 'inline', |
|
| 63 | - 'inline' => 'table', |
|
| 64 | - )) |
|
| 60 | + 'required' => false, |
|
| 61 | + ), array( |
|
| 62 | + 'edit' => 'inline', |
|
| 63 | + 'inline' => 'table', |
|
| 64 | + )) |
|
| 65 | 65 | ; |
| 66 | 66 | } |
| 67 | 67 | } |