@@ -11,11 +11,11 @@ |
||
11 | 11 | * @ORM\Table(name="company_organizations") |
12 | 12 | */ |
13 | 13 | class CompanyOrganization { |
14 | - /** |
|
15 | - * @ORM\Id @ORM\Column(type="integer") |
|
16 | - * @ORM\GeneratedValue(strategy="AUTO") |
|
17 | - */ |
|
18 | - private $id; |
|
14 | + /** |
|
15 | + * @ORM\Id @ORM\Column(type="integer") |
|
16 | + * @ORM\GeneratedValue(strategy="AUTO") |
|
17 | + */ |
|
18 | + private $id; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @ORM\OneToMany(targetEntity="CompanyEvent", mappedBy="organization", cascade={"persist"}, fetch="EXTRA_LAZY") |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Models\Company; |
6 | 6 |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * @ORM\DiscriminatorMap({"auction"="CompanyAuction", "raffle"="CompanyRaffle"}) |
14 | 14 | */ |
15 | 15 | abstract class CompanyEvent { |
16 | - /** |
|
16 | + /** |
|
17 | 17 | * @ORM\Id @ORM\Column(type="integer") |
18 | 18 | * @ORM\GeneratedValue |
19 | 19 | */ |
@@ -23,18 +23,18 @@ discard block |
||
23 | 23 | * @ORM\ManyToOne(targetEntity="CompanyOrganization", inversedBy="events", cascade={"persist"}) |
24 | 24 | * @ORM\JoinColumn(name="org_id", referencedColumnName="id") |
25 | 25 | */ |
26 | - private $organization; |
|
26 | + private $organization; |
|
27 | 27 | |
28 | - public function getId() { |
|
29 | - return $this->id; |
|
30 | - } |
|
28 | + public function getId() { |
|
29 | + return $this->id; |
|
30 | + } |
|
31 | 31 | |
32 | - public function getOrganization() { |
|
33 | - return $this->organization; |
|
34 | - } |
|
32 | + public function getOrganization() { |
|
33 | + return $this->organization; |
|
34 | + } |
|
35 | 35 | |
36 | - public function setOrganization(CompanyOrganization $org) { |
|
37 | - $this->organization = $org; |
|
38 | - } |
|
36 | + public function setOrganization(CompanyOrganization $org) { |
|
37 | + $this->organization = $org; |
|
38 | + } |
|
39 | 39 | |
40 | 40 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Models\Company; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Models\DDC964; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Models\Hydration; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Models\DDC1476; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Models\DDC2504; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Models\JoinedInheritanceType; |
6 | 6 |
@@ -34,16 +34,16 @@ |
||
34 | 34 | */ |
35 | 35 | private $country; |
36 | 36 | |
37 | - /** |
|
38 | - * @ORM\ManyToMany(targetEntity="NavUser", cascade={"persist"}) |
|
39 | - * @ORM\JoinTable(name="navigation_pois_visitors", |
|
40 | - * inverseJoinColumns={@ORM\JoinColumn(name="user_id", referencedColumnName="id")}, |
|
41 | - * joinColumns={ |
|
42 | - * @ORM\JoinColumn(name="poi_long", referencedColumnName="nav_long"), |
|
43 | - * @ORM\JoinColumn(name="poi_lat", referencedColumnName="nav_lat") |
|
44 | - * } |
|
45 | - * ) |
|
46 | - */ |
|
37 | + /** |
|
38 | + * @ORM\ManyToMany(targetEntity="NavUser", cascade={"persist"}) |
|
39 | + * @ORM\JoinTable(name="navigation_pois_visitors", |
|
40 | + * inverseJoinColumns={@ORM\JoinColumn(name="user_id", referencedColumnName="id")}, |
|
41 | + * joinColumns={ |
|
42 | + * @ORM\JoinColumn(name="poi_long", referencedColumnName="nav_long"), |
|
43 | + * @ORM\JoinColumn(name="poi_lat", referencedColumnName="nav_lat") |
|
44 | + * } |
|
45 | + * ) |
|
46 | + */ |
|
47 | 47 | private $visitors; |
48 | 48 | |
49 | 49 | public function __construct($lat, $long, $name, $country) |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Models\Navigation; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Models\DDC3346; |
6 | 6 |