@@ -63,34 +63,34 @@ |
||
63 | 63 | $userRolesSubQuery = $this->connection->createQueryBuilder() |
64 | 64 | ->select(PermissionsSchemaConfigurator::ROLE_ID_COLUMN) |
65 | 65 | ->from($this->userRolesTableName->toNative()) |
66 | - ->where(PermissionsSchemaConfigurator::USER_ID_COLUMN . ' = :userId'); |
|
66 | + ->where(PermissionsSchemaConfigurator::USER_ID_COLUMN.' = :userId'); |
|
67 | 67 | |
68 | 68 | $queryBuilder = $this->connection->createQueryBuilder(); |
69 | 69 | $userConstraintsQuery = $queryBuilder |
70 | - ->select('rs.' . SearchSchemaConfigurator::CONSTRAINT_COLUMN) |
|
70 | + ->select('rs.'.SearchSchemaConfigurator::CONSTRAINT_COLUMN) |
|
71 | 71 | ->from($this->rolesSearchTableName, 'rs') |
72 | 72 | ->innerJoin( |
73 | 73 | 'rs', |
74 | 74 | sprintf('(%s)', $userRolesSubQuery->getSQL()), |
75 | 75 | 'ur', |
76 | - 'rs.' . SearchSchemaConfigurator::UUID_COLUMN . ' = ur.' . PermissionsSchemaConfigurator::ROLE_ID_COLUMN |
|
76 | + 'rs.'.SearchSchemaConfigurator::UUID_COLUMN.' = ur.'.PermissionsSchemaConfigurator::ROLE_ID_COLUMN |
|
77 | 77 | ) |
78 | 78 | ->innerJoin( |
79 | 79 | 'rs', |
80 | 80 | $this->rolePermissionsTableName->toNative(), |
81 | 81 | 'rp', |
82 | - 'rs.' . SearchSchemaConfigurator::UUID_COLUMN . ' = rp.' . PermissionsSchemaConfigurator::ROLE_ID_COLUMN |
|
82 | + 'rs.'.SearchSchemaConfigurator::UUID_COLUMN.' = rp.'.PermissionsSchemaConfigurator::ROLE_ID_COLUMN |
|
83 | 83 | ) |
84 | - ->where(PermissionsSchemaConfigurator::PERMISSION_COLUMN . ' = :permission') |
|
84 | + ->where(PermissionsSchemaConfigurator::PERMISSION_COLUMN.' = :permission') |
|
85 | 85 | ->andWhere($queryBuilder->expr()->isNotNull( |
86 | - 'rs.' . SearchSchemaConfigurator::CONSTRAINT_COLUMN |
|
86 | + 'rs.'.SearchSchemaConfigurator::CONSTRAINT_COLUMN |
|
87 | 87 | )) |
88 | 88 | ->setParameter('userId', $userId->toNative()) |
89 | 89 | ->setParameter('permission', $permission->toNative()); |
90 | 90 | |
91 | 91 | $results = $userConstraintsQuery->execute()->fetchAll(\PDO::FETCH_COLUMN); |
92 | 92 | |
93 | - return array_map(function ($constraint) { |
|
93 | + return array_map(function($constraint) { |
|
94 | 94 | return new StringLiteral($constraint); |
95 | 95 | }, $results); |
96 | 96 | } |
@@ -13,7 +13,7 @@ |
||
13 | 13 | EventExportResult $eventExportResult |
14 | 14 | ) { |
15 | 15 | $url = $eventExportResult->getUrl(); |
16 | - return '<p>Beste, <br /><br />Hierbij vind je de link naar de door jou geëxporteerde documenten uit UiTdatabank: <a href="' . $url . '">' . $url . '</a><br /><br /> |
|
16 | + return '<p>Beste, <br /><br />Hierbij vind je de link naar de door jou geëxporteerde documenten uit UiTdatabank: <a href="'.$url.'">'.$url.'</a><br /><br /> |
|
17 | 17 | Mocht je vragen hebben, of meer informatie wensen over onze diensten, kan je terecht bij [email protected].<br /><br /> |
18 | 18 | Met vriendelijke groeten,<br />Het UiTdatabank team</p>'; |
19 | 19 | } |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | return 'Beste, |
16 | 16 | |
17 | - Hierbij vind je de link naar de door jou geëxporteerde documenten uit UiTdatabank: ' . $eventExportResult->getUrl() . ' |
|
17 | + Hierbij vind je de link naar de door jou geëxporteerde documenten uit UiTdatabank: ' . $eventExportResult->getUrl().' |
|
18 | 18 | |
19 | 19 | Mocht je vragen hebben, of meer informatie wensen over onze diensten, kan je terecht bij [email protected]. |
20 | 20 |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | { |
258 | 258 | $equalImages = array_filter( |
259 | 259 | $this->mediaObjects, |
260 | - function ($existingMediaObjectId) use ($image) { |
|
260 | + function($existingMediaObjectId) use ($image) { |
|
261 | 261 | return $image |
262 | 262 | ->getMediaObjectId() |
263 | 263 | ->sameValueAs($existingMediaObjectId); |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | if ($this->rejectedReason && $reason->sameValueAs($this->rejectedReason)) { |
382 | 382 | return true; // nothing left to do if the offer has already been rejected for the same reason |
383 | 383 | } else { |
384 | - throw new Exception('The offer has already been rejected for another reason: ' . $this->rejectedReason); |
|
384 | + throw new Exception('The offer has already been rejected for another reason: '.$this->rejectedReason); |
|
385 | 385 | } |
386 | 386 | } |
387 | 387 |
@@ -26,10 +26,10 @@ |
||
26 | 26 | StringLiteral $userId, |
27 | 27 | AuthorizableCommandInterface $command |
28 | 28 | ) { |
29 | - parent::__construct('User with id: ' . $userId->toNative() . |
|
30 | - ' has no permission: "' . $command->getPermission()->toNative() . |
|
31 | - '" on item: ' . $command->getItemId() . |
|
32 | - ' when executing command: ' . get_class($command)); |
|
29 | + parent::__construct('User with id: '.$userId->toNative(). |
|
30 | + ' has no permission: "'.$command->getPermission()->toNative(). |
|
31 | + '" on item: '.$command->getItemId(). |
|
32 | + ' when executing command: '.get_class($command)); |
|
33 | 33 | |
34 | 34 | $this->userId = $userId; |
35 | 35 | $this->command = $command; |
@@ -148,8 +148,8 @@ |
||
148 | 148 | } |
149 | 149 | |
150 | 150 | return parent::serialize() + array( |
151 | - 'website' => (string) $this->getWebsite(), |
|
152 | - 'title' => (string) $this->getTitle(), |
|
151 | + 'website' => (string)$this->getWebsite(), |
|
152 | + 'title' => (string)$this->getTitle(), |
|
153 | 153 | 'addresses' => $addresses, |
154 | 154 | 'phones' => $this->getPhones(), |
155 | 155 | 'emails' => $this->getEmails(), |
@@ -21,7 +21,7 @@ |
||
21 | 21 | } |
22 | 22 | |
23 | 23 | $precision = 0; |
24 | - return new Price((int) round($value * 100, $precision)); |
|
24 | + return new Price((int)round($value * 100, $precision)); |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | /** |
@@ -46,9 +46,9 @@ |
||
46 | 46 | StringLiteral $constraint, |
47 | 47 | StringLiteral $offerId |
48 | 48 | ) { |
49 | - $constraintStr = '(' . strtolower($constraint->toNative()) . ')'; |
|
49 | + $constraintStr = '('.strtolower($constraint->toNative()).')'; |
|
50 | 50 | $offerIdStr = $offerId->toNative(); |
51 | 51 | |
52 | - return '(' . $constraintStr . ' AND cdbid:' . $offerIdStr . ')'; |
|
52 | + return '('.$constraintStr.' AND cdbid:'.$offerIdStr.')'; |
|
53 | 53 | } |
54 | 54 | } |
@@ -62,7 +62,7 @@ |
||
62 | 62 | |
63 | 63 | if ($address) { |
64 | 64 | $address = new Address( |
65 | - new Street($address->getStreet() . ' ' . $address->getHouseNumber()), |
|
65 | + new Street($address->getStreet().' '.$address->getHouseNumber()), |
|
66 | 66 | new PostalCode($address->getZip()), |
67 | 67 | new Locality($address->getCity()), |
68 | 68 | Country::fromNative($address->getCountry()) |