@@ -147,7 +147,7 @@ |
||
| 147 | 147 | * Useful for form validation |
| 148 | 148 | * |
| 149 | 149 | * @param string $property The name of the property to change |
| 150 | - * @param mixed $value The value of the property |
|
| 150 | + * @param string $value The value of the property |
|
| 151 | 151 | * @return self |
| 152 | 152 | */ |
| 153 | 153 | protected function inject($property, $value) |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | namespace BZIon\Form\Creator; |
| 9 | 9 | |
| 10 | 10 | use BZIon\Form\Constraint\UniqueAlias; |
| 11 | -use BZIon\Form\Type\ModelType; |
|
| 12 | 11 | use Symfony\Component\Validator\Constraints\Image; |
| 13 | 12 | use Symfony\Component\Validator\Constraints\Length; |
| 14 | 13 | use Symfony\Component\Validator\Constraints\NotBlank; |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use BZIon\Form\Constraint\NotBlankModel; |
| 6 | 6 | use BZIon\Form\Transformer\MultipleModelTransformer; |
| 7 | -use BZIon\Form\Transformer\NullModelTransformer; |
|
| 8 | 7 | use BZIon\Form\Transformer\SingleModelTransformer; |
| 9 | 8 | use Doctrine\Common\Inflector\Inflector; |
| 10 | 9 | use Symfony\Component\Form\AbstractType; |