File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed
tests/Fixtures/TestBundle/Entity Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -21,26 +21,28 @@ class Foo
21
21
{
22
22
/**
23
23
* @ORM\Column(type="integer")
24
+ *
24
25
* @ORM\Id
26
+ *
25
27
* @ORM\GeneratedValue(strategy="AUTO")
26
28
*/
27
29
#[
28
- ORM \Column(type: " integer " ),
30
+ ORM \Column(type: ' integer ' ),
29
31
ORM \Id,
30
- ORM \GeneratedValue(strategy: " AUTO " ),
32
+ ORM \GeneratedValue(strategy: ' AUTO ' ),
31
33
]
32
34
private $ id ;
33
35
34
36
/**
35
37
* @ORM\Column(type="string")
36
38
*/
37
- #[ORM \Column(type: " string " )]
39
+ #[ORM \Column(type: ' string ' )]
38
40
private $ name ;
39
41
40
42
/**
41
43
* @ORM\Column(type="json_document", options={"jsonb": true})
42
44
*/
43
- #[ORM \Column(type: " json_document " , options: [" jsonb " => true ])]
45
+ #[ORM \Column(type: ' json_document ' , options: [' jsonb ' => true ])]
44
46
private $ misc ;
45
47
46
48
public function getId ()
Original file line number Diff line number Diff line change @@ -21,25 +21,27 @@ class Product
21
21
{
22
22
/**
23
23
* @ORM\Column(type="integer")
24
+ *
24
25
* @ORM\Id
26
+ *
25
27
* @ORM\GeneratedValue(strategy="AUTO")
26
28
*/
27
29
#[
28
- ORM \Column(type: " integer " ),
30
+ ORM \Column(type: ' integer ' ),
29
31
ORM \Id,
30
- ORM \GeneratedValue(strategy: " AUTO " ),
32
+ ORM \GeneratedValue(strategy: ' AUTO ' ),
31
33
]
32
34
public $ id ;
33
35
34
36
/**
35
37
* @ORM\Column(type="string")
36
38
*/
37
- #[ORM \Column(type: " string " )]
39
+ #[ORM \Column(type: ' string ' )]
38
40
public $ name ;
39
41
40
42
/**
41
43
* @ORM\Column(type="json_document", options={"jsonb": true}, nullable=true)
42
44
*/
43
- #[ORM \Column(type: " json_document " , nullable: true , options: [" jsonb " => true ])]
45
+ #[ORM \Column(type: ' json_document ' , nullable: true , options: [' jsonb ' => true ])]
44
46
public $ attributes ;
45
47
}
You can’t perform that action at this time.
0 commit comments