@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | $databaseArray |
141 | 141 | ); |
142 | 142 | |
143 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
143 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
144 | 144 | |
145 | 145 | return $entity; |
146 | 146 | } |
@@ -216,10 +216,10 @@ discard block |
||
216 | 216 | public function getEntityFromDatabaseArray(array $data) |
217 | 217 | : SupportBonuscachesEntity { |
218 | 218 | $entity = new SupportBonuscachesEntity(); |
219 | - $entity->id = (int) $data['id']; |
|
220 | - $entity->wpOc = (string) $data['wp_oc']; |
|
221 | - $entity->isBonusCache = (bool) $data['is_bonus_cache']; |
|
222 | - $entity->belongsToBonusCache = (string) $data['belongs_to_bonus_cache']; |
|
219 | + $entity->id = (int)$data['id']; |
|
220 | + $entity->wpOc = (string)$data['wp_oc']; |
|
221 | + $entity->isBonusCache = (bool)$data['is_bonus_cache']; |
|
222 | + $entity->belongsToBonusCache = (string)$data['belongs_to_bonus_cache']; |
|
223 | 223 | |
224 | 224 | return $entity; |
225 | 225 | } |
@@ -128,9 +128,9 @@ discard block |
||
128 | 128 | |
129 | 129 | return $this->render( |
130 | 130 | 'backend/support/searchedCaches.html.twig', [ |
131 | - 'supportCachesForm' => $formSearch->createView(), |
|
132 | - 'foundCaches' => $fetchedCaches |
|
133 | - ] |
|
131 | + 'supportCachesForm' => $formSearch->createView(), |
|
132 | + 'foundCaches' => $fetchedCaches |
|
133 | + ] |
|
134 | 134 | ); |
135 | 135 | } |
136 | 136 | |
@@ -149,9 +149,9 @@ discard block |
||
149 | 149 | |
150 | 150 | return $this->render( |
151 | 151 | 'backend/support/reportedCaches.html.twig', [ |
152 | - 'supportCachesForm' => $formSearch->createView(), |
|
153 | - 'reportedCaches_by_id' => $fetchedReports |
|
154 | - ] |
|
152 | + 'supportCachesForm' => $formSearch->createView(), |
|
153 | + 'reportedCaches_by_id' => $fetchedReports |
|
154 | + ] |
|
155 | 155 | ); |
156 | 156 | } |
157 | 157 | |
@@ -170,9 +170,9 @@ discard block |
||
170 | 170 | |
171 | 171 | return $this->render( |
172 | 172 | 'backend/support/bonusCaches.html.twig', [ |
173 | - 'supportCachesForm' => $formSearch->createView(), |
|
174 | - 'bonusCaches_by_id' => $fetchedBonuscaches |
|
175 | - ] |
|
173 | + 'supportCachesForm' => $formSearch->createView(), |
|
174 | + 'bonusCaches_by_id' => $fetchedBonuscaches |
|
175 | + ] |
|
176 | 176 | ); |
177 | 177 | } |
178 | 178 | |
@@ -213,10 +213,10 @@ discard block |
||
213 | 213 | |
214 | 214 | return $this->render( |
215 | 215 | 'backend/support/databaseQueries.html.twig', [ |
216 | - 'supportCachesForm' => $formSearch->createView(), |
|
217 | - 'SQLFlexForm' => $form->createView(), |
|
218 | - 'suppSQLqueryFlex' => $fetchedInformation |
|
219 | - ] |
|
216 | + 'supportCachesForm' => $formSearch->createView(), |
|
217 | + 'SQLFlexForm' => $form->createView(), |
|
218 | + 'suppSQLqueryFlex' => $fetchedInformation |
|
219 | + ] |
|
220 | 220 | ); |
221 | 221 | } |
222 | 222 | |
@@ -436,9 +436,9 @@ discard block |
||
436 | 436 | |
437 | 437 | return $this->render( |
438 | 438 | 'backend/support/databaseQueries.html.twig', [ |
439 | - 'supportCachesForm' => $formSearch->createView(), |
|
440 | - 'suppSQLquery1' => $qb->execute()->fetchAll() |
|
441 | - ] |
|
439 | + 'supportCachesForm' => $formSearch->createView(), |
|
440 | + 'suppSQLquery1' => $qb->execute()->fetchAll() |
|
441 | + ] |
|
442 | 442 | ); |
443 | 443 | } |
444 | 444 | |
@@ -462,9 +462,9 @@ discard block |
||
462 | 462 | |
463 | 463 | return $this->render( |
464 | 464 | 'backend/support/databaseQueries.html.twig', [ |
465 | - 'supportCachesForm' => $formSearch->createView(), |
|
466 | - 'suppSQLquery2' => $qb->execute()->fetchAll() |
|
467 | - ] |
|
465 | + 'supportCachesForm' => $formSearch->createView(), |
|
466 | + 'suppSQLquery2' => $qb->execute()->fetchAll() |
|
467 | + ] |
|
468 | 468 | ); |
469 | 469 | } |
470 | 470 | |
@@ -490,9 +490,9 @@ discard block |
||
490 | 490 | |
491 | 491 | return $this->render( |
492 | 492 | 'backend/support/databaseQueries.html.twig', [ |
493 | - 'supportCachesForm' => $formSearch->createView(), |
|
494 | - 'suppSQLquery4' => $qb->execute()->fetchAll() |
|
495 | - ] |
|
493 | + 'supportCachesForm' => $formSearch->createView(), |
|
494 | + 'suppSQLquery4' => $qb->execute()->fetchAll() |
|
495 | + ] |
|
496 | 496 | ); |
497 | 497 | } |
498 | 498 |