CS - camelCase & curly braces
This commit is contained in:
parent
d9b7abb7c7
commit
6cb7acfa75
@ -16,11 +16,12 @@ class ItemGroupEntity
|
||||
public $name;
|
||||
|
||||
/** @Column(type="string", nullable=true) */
|
||||
public $group_name;
|
||||
public $groupName;
|
||||
|
||||
public function __construct($id, $name, $group_name) {
|
||||
public function __construct($id, $name, $groupName)
|
||||
{
|
||||
$this->id = $id;
|
||||
$this->name = $name;
|
||||
$this->group_name = $group_name;
|
||||
$this->groupName = $groupName;
|
||||
}
|
||||
}
|
||||
|
@ -141,7 +141,7 @@ class EntityChoiceListTest extends DoctrineOrmTestCase
|
||||
$item3,
|
||||
$item4,
|
||||
),
|
||||
'group_name'
|
||||
'groupName'
|
||||
);
|
||||
|
||||
$this->assertEquals(array(
|
||||
@ -168,7 +168,7 @@ class EntityChoiceListTest extends DoctrineOrmTestCase
|
||||
$item1,
|
||||
$item2,
|
||||
),
|
||||
'group_name.child.that.does.not.exist'
|
||||
'groupName.child.that.does.not.exist'
|
||||
);
|
||||
|
||||
$this->assertEquals(array(
|
||||
|
@ -479,7 +479,7 @@ class EntityTypeTest extends TypeTestCase
|
||||
'class' => self::ITEM_GROUP_CLASS,
|
||||
'choices' => array($item1, $item2, $item3, $item4),
|
||||
'property' => 'name',
|
||||
'group_by' => 'group_name',
|
||||
'group_by' => 'groupName',
|
||||
));
|
||||
|
||||
$field->bind('2');
|
||||
|
Reference in New Issue
Block a user