@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | $databaseArray |
161 | 161 | ); |
162 | 162 | |
163 | - $entity->cacheId = (int) $this->connection->lastInsertId(); |
|
163 | + $entity->cacheId = (int)$this->connection->lastInsertId(); |
|
164 | 164 | |
165 | 165 | return $entity; |
166 | 166 | } |
@@ -238,11 +238,11 @@ discard block |
||
238 | 238 | public function getEntityFromDatabaseArray(array $data) |
239 | 239 | { |
240 | 240 | $entity = new GeoCacheStatusModifiedEntity(); |
241 | - $entity->cacheId = (int) $data['cache_id']; |
|
241 | + $entity->cacheId = (int)$data['cache_id']; |
|
242 | 242 | $entity->dateModified = new DateTime($data['date_modified']); |
243 | - $entity->oldState = (int) $data['old_state']; |
|
244 | - $entity->newState = (int) $data['new_state']; |
|
245 | - $entity->userId = (int) $data['user_id']; |
|
243 | + $entity->oldState = (int)$data['old_state']; |
|
244 | + $entity->newState = (int)$data['new_state']; |
|
245 | + $entity->userId = (int)$data['user_id']; |
|
246 | 246 | $entity->user = $this->userRepository->fetchOneById($entity->userId); |
247 | 247 | $entity->cacheStatusOld = $this->cacheStatusRepository->fetchOneBy(['id' => $entity->oldState]); |
248 | 248 | $entity->cacheStatusNew = $this->cacheStatusRepository->fetchOneBy(['id' => $entity->newState]); |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | $databaseArray |
154 | 154 | ); |
155 | 155 | |
156 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
156 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
157 | 157 | |
158 | 158 | return $entity; |
159 | 159 | } |
@@ -231,11 +231,11 @@ discard block |
||
231 | 231 | public function getEntityFromDatabaseArray(array $data) |
232 | 232 | : SupportUserRelationsEntity { |
233 | 233 | $entity = new SupportUserRelationsEntity(); |
234 | - $entity->id = (int) $data['id']; |
|
235 | - $entity->ocUserId = (int) $data['oc_user_id']; |
|
236 | - $entity->nodeId = (int) $data['node_id']; |
|
237 | - $entity->nodeUserId = (string) $data['node_user_id']; |
|
238 | - $entity->nodeUsername = (string) $data['node_username']; |
|
234 | + $entity->id = (int)$data['id']; |
|
235 | + $entity->ocUserId = (int)$data['oc_user_id']; |
|
236 | + $entity->nodeId = (int)$data['node_id']; |
|
237 | + $entity->nodeUserId = (string)$data['node_user_id']; |
|
238 | + $entity->nodeUsername = (string)$data['node_username']; |
|
239 | 239 | $entity->node = $this->nodesRepository->fetchOneBy(['id' => $entity->nodeId]); |
240 | 240 | $entity->user = $this->userRepository->fetchOneById($entity->ocUserId); |
241 | 241 |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | $databaseArray |
142 | 142 | ); |
143 | 143 | |
144 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
144 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
145 | 145 | |
146 | 146 | return $entity; |
147 | 147 | } |
@@ -219,11 +219,11 @@ discard block |
||
219 | 219 | public function getEntityFromDatabaseArray(array $data) |
220 | 220 | : SupportListingCommentsEntity { |
221 | 221 | $entity = new SupportListingCommentsEntity(''); |
222 | - $entity->id = (int) $data['id']; |
|
223 | - $entity->wpOc = (string) $data['wp_oc']; |
|
224 | - $entity->comment = (string) $data['comment']; |
|
225 | - $entity->commentCreated = (string) $data['comment_created']; |
|
226 | - $entity->commentLastModified = (string) $data['comment_last_modified']; |
|
222 | + $entity->id = (int)$data['id']; |
|
223 | + $entity->wpOc = (string)$data['wp_oc']; |
|
224 | + $entity->comment = (string)$data['comment']; |
|
225 | + $entity->commentCreated = (string)$data['comment_created']; |
|
226 | + $entity->commentLastModified = (string)$data['comment_last_modified']; |
|
227 | 227 | |
228 | 228 | return $entity; |
229 | 229 | } |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | $databaseArray |
122 | 122 | ); |
123 | 123 | |
124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
125 | 125 | |
126 | 126 | return $entity; |
127 | 127 | } |
@@ -188,10 +188,10 @@ discard block |
||
188 | 188 | public function getEntityFromDatabaseArray(array $data) |
189 | 189 | { |
190 | 190 | $entity = new NodesEntity(); |
191 | - $entity->id = (int) $data['id']; |
|
192 | - $entity->name = (string) $data['name']; |
|
193 | - $entity->url = (string) $data['url']; |
|
194 | - $entity->waypointPrefix = (string) $data['waypoint_prefix']; |
|
191 | + $entity->id = (int)$data['id']; |
|
192 | + $entity->name = (string)$data['name']; |
|
193 | + $entity->url = (string)$data['url']; |
|
194 | + $entity->waypointPrefix = (string)$data['waypoint_prefix']; |
|
195 | 195 | |
196 | 196 | return $entity; |
197 | 197 | } |
@@ -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 | } |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | $databaseArray |
145 | 145 | ); |
146 | 146 | |
147 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
147 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
148 | 148 | |
149 | 149 | return $entity; |
150 | 150 | } |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | ['user_id' => $entity->id] |
173 | 173 | ); |
174 | 174 | |
175 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
175 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
176 | 176 | |
177 | 177 | return $entity; |
178 | 178 | } |
@@ -249,16 +249,16 @@ discard block |
||
249 | 249 | public function getEntityFromDatabaseArray(array $data): UserEntity |
250 | 250 | { |
251 | 251 | $entity = new UserEntity(); |
252 | - $entity->id = (int) $data['user_id']; |
|
253 | - $entity->dateCreated = (string) $data['date_created']; |
|
254 | - $entity->lastModified = (string) $data['last_modified']; |
|
252 | + $entity->id = (int)$data['user_id']; |
|
253 | + $entity->dateCreated = (string)$data['date_created']; |
|
254 | + $entity->lastModified = (string)$data['last_modified']; |
|
255 | 255 | $entity->username = $data['username']; |
256 | 256 | $entity->password = $data['password']; |
257 | 257 | $entity->email = $data['email']; |
258 | - $entity->emailProblems = (bool) $data['email_problems']; |
|
259 | - $entity->latitude = (double) $data['latitude']; |
|
260 | - $entity->longitude = (double) $data['longitude']; |
|
261 | - $entity->isActive = (bool) $data['is_active_flag']; |
|
258 | + $entity->emailProblems = (bool)$data['email_problems']; |
|
259 | + $entity->latitude = (double)$data['latitude']; |
|
260 | + $entity->longitude = (double)$data['longitude']; |
|
261 | + $entity->isActive = (bool)$data['is_active_flag']; |
|
262 | 262 | $entity->firstname = $data['first_name']; |
263 | 263 | $entity->lastname = $data['last_name']; |
264 | 264 | $entity->country = $data['country']; |
@@ -19,21 +19,21 @@ |
||
19 | 19 | $builder |
20 | 20 | ->add( |
21 | 21 | 'button_account_inactive', SubmitType::class, [ |
22 | - 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
23 | - 'label' => false |
|
24 | - ] |
|
22 | + 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
23 | + 'label' => false |
|
24 | + ] |
|
25 | 25 | ) |
26 | 26 | ->add( |
27 | 27 | 'button_GDPR_deletion', SubmitType::class, [ |
28 | - 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
29 | - 'label' => false |
|
30 | - ] |
|
28 | + 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
29 | + 'label' => false |
|
30 | + ] |
|
31 | 31 | ) |
32 | 32 | ->add( |
33 | 33 | 'button_mark_email_invalid', SubmitType::class, [ |
34 | - 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
35 | - 'label' => false |
|
36 | - ] |
|
34 | + 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
35 | + 'label' => false |
|
36 | + ] |
|
37 | 37 | ) |
38 | 38 | ->add( |
39 | 39 | 'check_Sure', CheckboxType::class, [ |
@@ -180,9 +180,9 @@ discard block |
||
180 | 180 | |
181 | 181 | return $this->render( |
182 | 182 | 'backend/support/searchedCaches.html.twig', [ |
183 | - 'supportCachesForm' => $formSearch->createView(), |
|
184 | - 'foundCaches' => $fetchedCaches |
|
185 | - ] |
|
183 | + 'supportCachesForm' => $formSearch->createView(), |
|
184 | + 'foundCaches' => $fetchedCaches |
|
185 | + ] |
|
186 | 186 | ); |
187 | 187 | } |
188 | 188 | |
@@ -201,9 +201,9 @@ discard block |
||
201 | 201 | |
202 | 202 | return $this->render( |
203 | 203 | 'backend/support/reportedCaches.html.twig', [ |
204 | - 'supportCachesForm' => $formSearch->createView(), |
|
205 | - 'reportedCaches_by_id' => $fetchedReports |
|
206 | - ] |
|
204 | + 'supportCachesForm' => $formSearch->createView(), |
|
205 | + 'reportedCaches_by_id' => $fetchedReports |
|
206 | + ] |
|
207 | 207 | ); |
208 | 208 | } |
209 | 209 | |
@@ -221,9 +221,9 @@ discard block |
||
221 | 221 | |
222 | 222 | return $this->render( |
223 | 223 | 'backend/support/bonusCaches.html.twig', [ |
224 | - 'supportCachesForm' => $formSearch->createView(), |
|
225 | - 'bonusCaches_by_id' => $fetchedBonuscaches |
|
226 | - ] |
|
224 | + 'supportCachesForm' => $formSearch->createView(), |
|
225 | + 'bonusCaches_by_id' => $fetchedBonuscaches |
|
226 | + ] |
|
227 | 227 | ); |
228 | 228 | } |
229 | 229 | |
@@ -264,10 +264,10 @@ discard block |
||
264 | 264 | |
265 | 265 | return $this->render( |
266 | 266 | 'backend/support/databaseQueries.html.twig', [ |
267 | - 'supportCachesForm' => $formSearch->createView(), |
|
268 | - 'SQLFlexForm' => $form->createView(), |
|
269 | - 'suppSQLqueryFlex' => $fetchedInformation |
|
270 | - ] |
|
267 | + 'supportCachesForm' => $formSearch->createView(), |
|
268 | + 'SQLFlexForm' => $form->createView(), |
|
269 | + 'suppSQLqueryFlex' => $fetchedInformation |
|
270 | + ] |
|
271 | 271 | ); |
272 | 272 | } |
273 | 273 | |
@@ -395,16 +395,16 @@ discard block |
||
395 | 395 | |
396 | 396 | return $this->render( |
397 | 397 | 'backend/support/occ.html.twig', [ |
398 | - 'supportCachesForm' => $formSearch->createView(), |
|
399 | - 'supportCommentFormUser' => $formCommentUser->createView(), |
|
400 | - 'supportCommentFormCache' => $formCommentCache->createView(), |
|
401 | - 'occ_cache_data' => $fetchedCacheData, |
|
402 | - 'occ_cache_comments' => $fetchedCacheComments, |
|
403 | - 'occ_cache_infos' => $fetchedCacheInfos, |
|
404 | - 'occ_user_data' => $fetchedUserData, |
|
405 | - 'occ_user_comments' => $fetchedUserComments, |
|
406 | - 'occ_user_relations' => $fetchedUserRelations |
|
407 | - ] |
|
398 | + 'supportCachesForm' => $formSearch->createView(), |
|
399 | + 'supportCommentFormUser' => $formCommentUser->createView(), |
|
400 | + 'supportCommentFormCache' => $formCommentCache->createView(), |
|
401 | + 'occ_cache_data' => $fetchedCacheData, |
|
402 | + 'occ_cache_comments' => $fetchedCacheComments, |
|
403 | + 'occ_cache_infos' => $fetchedCacheInfos, |
|
404 | + 'occ_user_data' => $fetchedUserData, |
|
405 | + 'occ_user_comments' => $fetchedUserComments, |
|
406 | + 'occ_user_relations' => $fetchedUserRelations |
|
407 | + ] |
|
408 | 408 | ); |
409 | 409 | } |
410 | 410 | |
@@ -528,10 +528,10 @@ discard block |
||
528 | 528 | |
529 | 529 | return $this->render( |
530 | 530 | 'backend/support/userDetails.html.twig', [ |
531 | - 'supportCachesForm' => $formSearch->createView(), |
|
532 | - 'supportUserAccountActions' => $formActions->createView(), |
|
533 | - 'user_account_details' => $fetchedUserDetails |
|
534 | - ] |
|
531 | + 'supportCachesForm' => $formSearch->createView(), |
|
532 | + 'supportUserAccountActions' => $formActions->createView(), |
|
533 | + 'user_account_details' => $fetchedUserDetails |
|
534 | + ] |
|
535 | 535 | ); |
536 | 536 | } |
537 | 537 | |
@@ -620,9 +620,9 @@ discard block |
||
620 | 620 | |
621 | 621 | return $this->render( |
622 | 622 | 'backend/support/databaseQueries.html.twig', [ |
623 | - 'supportCachesForm' => $formSearch->createView(), |
|
624 | - 'suppSQLquery1' => $qb->execute()->fetchAll() |
|
625 | - ] |
|
623 | + 'supportCachesForm' => $formSearch->createView(), |
|
624 | + 'suppSQLquery1' => $qb->execute()->fetchAll() |
|
625 | + ] |
|
626 | 626 | ); |
627 | 627 | } |
628 | 628 | |
@@ -646,9 +646,9 @@ discard block |
||
646 | 646 | |
647 | 647 | return $this->render( |
648 | 648 | 'backend/support/databaseQueries.html.twig', [ |
649 | - 'supportCachesForm' => $formSearch->createView(), |
|
650 | - 'suppSQLquery2' => $qb->execute()->fetchAll() |
|
651 | - ] |
|
649 | + 'supportCachesForm' => $formSearch->createView(), |
|
650 | + 'suppSQLquery2' => $qb->execute()->fetchAll() |
|
651 | + ] |
|
652 | 652 | ); |
653 | 653 | } |
654 | 654 | |
@@ -674,9 +674,9 @@ discard block |
||
674 | 674 | |
675 | 675 | return $this->render( |
676 | 676 | 'backend/support/databaseQueries.html.twig', [ |
677 | - 'supportCachesForm' => $formSearch->createView(), |
|
678 | - 'suppSQLquery4' => $qb->execute()->fetchAll() |
|
679 | - ] |
|
677 | + 'supportCachesForm' => $formSearch->createView(), |
|
678 | + 'suppSQLquery4' => $qb->execute()->fetchAll() |
|
679 | + ] |
|
680 | 680 | ); |
681 | 681 | } |
682 | 682 | |
@@ -692,9 +692,9 @@ discard block |
||
692 | 692 | |
693 | 693 | return $this->render( |
694 | 694 | 'backend/support/databaseQueries.html.twig', [ |
695 | - 'supportCachesForm' => $formSearch->createView(), |
|
696 | - 'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll() |
|
697 | - ] |
|
695 | + 'supportCachesForm' => $formSearch->createView(), |
|
696 | + 'suppSQLquery5' => $this->supportUserCommentsRepository->fetchAll() |
|
697 | + ] |
|
698 | 698 | ); |
699 | 699 | } |
700 | 700 | |
@@ -799,15 +799,15 @@ discard block |
||
799 | 799 | |
800 | 800 | return $this->render( |
801 | 801 | 'backend/support/occ_gpx_import.html.twig', [ |
802 | - 'supportCachesForm' => $formSearch->createView(), |
|
803 | - 'supportUploadGPXForm' => $formUpload->createView(), |
|
804 | - 'amountProcessedCaches' => $amountProcessedCaches, |
|
805 | - 'amountAssignedCaches' => $amountAssignedCaches, |
|
806 | - 'amountUpdatedCaches' => $amountUpdatedCaches, |
|
807 | - 'listOfAmbiguousCaches' => $listOfAmbiguousCaches, |
|
808 | - 'fetchedListingInfos' => $fetchedListingInfos, |
|
809 | - 'differencesDetected' => $differencesDetected |
|
810 | - ] |
|
802 | + 'supportCachesForm' => $formSearch->createView(), |
|
803 | + 'supportUploadGPXForm' => $formUpload->createView(), |
|
804 | + 'amountProcessedCaches' => $amountProcessedCaches, |
|
805 | + 'amountAssignedCaches' => $amountAssignedCaches, |
|
806 | + 'amountUpdatedCaches' => $amountUpdatedCaches, |
|
807 | + 'listOfAmbiguousCaches' => $listOfAmbiguousCaches, |
|
808 | + 'fetchedListingInfos' => $fetchedListingInfos, |
|
809 | + 'differencesDetected' => $differencesDetected |
|
810 | + ] |
|
811 | 811 | ); |
812 | 812 | } |
813 | 813 | |
@@ -959,11 +959,11 @@ discard block |
||
959 | 959 | ] as $checkItem) { |
960 | 960 | if ($wpt[$checkItem] != $fetchedExistingSupportListingInfoArray[$checkItem]) { |
961 | 961 | $newComment .= $checkItem |
962 | - . ' changed from ' |
|
963 | - . $fetchedExistingSupportListingInfoArray[$checkItem] |
|
964 | - . ' to ' |
|
965 | - . $wpt[$checkItem] |
|
966 | - . PHP_EOL; |
|
962 | + . ' changed from ' |
|
963 | + . $fetchedExistingSupportListingInfoArray[$checkItem] |
|
964 | + . ' to ' |
|
965 | + . $wpt[$checkItem] |
|
966 | + . PHP_EOL; |
|
967 | 967 | } |
968 | 968 | } |
969 | 969 |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | $fetchedInformation = $this->executeSQL_flexible($inputData['content_WHAT'], $inputData['content_TABLE']); |
250 | 250 | |
251 | 251 | $countFetched = count($fetchedInformation); |
252 | - for ($i = 0; $i < $countFetched; $i ++) { |
|
252 | + for ($i = 0; $i < $countFetched; $i++) { |
|
253 | 253 | if (array_key_exists('password', $fetchedInformation[$i])) { |
254 | 254 | $fetchedInformation[$i]['password'] = '-'; |
255 | 255 | } |
@@ -425,18 +425,18 @@ discard block |
||
425 | 425 | $inputData = $form->getData(); |
426 | 426 | |
427 | 427 | if ($inputData['hidden_sender'] == 'textfield_cache_comment') { |
428 | - $entity = $this->supportListingCommentsRepository->fetchOneBy(['wp_oc' => (string) $inputData['hidden_ID2']]); |
|
428 | + $entity = $this->supportListingCommentsRepository->fetchOneBy(['wp_oc' => (string)$inputData['hidden_ID2']]); |
|
429 | 429 | $entity->comment = $inputData['content_comment_field']; |
430 | 430 | $this->supportListingCommentsRepository->update($entity); |
431 | 431 | } elseif ($inputData['hidden_sender'] == 'textfield_user_comment') { |
432 | - $entity = $this->supportUserCommentsRepository->fetchOneBy(['oc_user_id' => (int) $inputData['hidden_ID1']]); |
|
432 | + $entity = $this->supportUserCommentsRepository->fetchOneBy(['oc_user_id' => (int)$inputData['hidden_ID1']]); |
|
433 | 433 | $entity->comment = $inputData['content_comment_field']; |
434 | 434 | $this->supportUserCommentsRepository->update($entity); |
435 | 435 | } |
436 | 436 | |
437 | 437 | return $this->redirectToRoute('backend_support_occ', [ |
438 | - 'userID' => (string) $inputData['hidden_ID1'], |
|
439 | - 'wpID' => (string) $inputData['hidden_ID2'] |
|
438 | + 'userID' => (string)$inputData['hidden_ID1'], |
|
439 | + 'wpID' => (string)$inputData['hidden_ID2'] |
|
440 | 440 | ]); |
441 | 441 | } |
442 | 442 | |
@@ -459,7 +459,7 @@ discard block |
||
459 | 459 | if ($form->isSubmitted() && $form->isValid()) { |
460 | 460 | $inputData = $form->getData(); |
461 | 461 | |
462 | - $entity = $this->cacheReportsRepository->fetchOneBy(['id' => (int) $inputData['hidden_ID1']]); |
|
462 | + $entity = $this->cacheReportsRepository->fetchOneBy(['id' => (int)$inputData['hidden_ID1']]); |
|
463 | 463 | $entity->comment = $inputData['content_comment_field']; |
464 | 464 | |
465 | 465 | $this->cacheReportsRepository->update($entity); |
@@ -845,7 +845,7 @@ discard block |
||
845 | 845 | array_push($tempArray, ''); |
846 | 846 | } |
847 | 847 | |
848 | - if (round ($fetchedOCCache->longitude * 10000) != round($fetchedListingInfo->nodeListingCoordinatesLon * 10000)) { |
|
848 | + if (round($fetchedOCCache->longitude * 10000) != round($fetchedListingInfo->nodeListingCoordinatesLon * 10000)) { |
|
849 | 849 | array_push($tempArray, $fetchedOCCache->longitude . ' != ' . $fetchedListingInfo->nodeListingCoordinatesLon); |
850 | 850 | } else { |
851 | 851 | array_push($tempArray, ''); |
@@ -995,7 +995,7 @@ discard block |
||
995 | 995 | $entity = $this->supportListingInfosRepository->getEntityFromDatabaseArray($wpt); |
996 | 996 | $this->supportListingInfosRepository->create($entity); |
997 | 997 | |
998 | - $amountAssignedCaches ++; |
|
998 | + $amountAssignedCaches++; |
|
999 | 999 | } |
1000 | 1000 | } |
1001 | 1001 | return([$amountAssignedCaches, $amountUpdatedCaches, $listOfAmbiguousCaches]); |
@@ -860,7 +860,9 @@ |
||
860 | 860 | if ((($fetchedListingInfo->nodeListingAvailable == true) && ($fetchedOCCache->status != 1)) || |
861 | 861 | (($fetchedListingInfo->nodeListingAvailable == false) && ($fetchedOCCache->status == 1))) { |
862 | 862 | array_push($tempArray, 'OC status != import status'); |
863 | - } else array_push($tempArray, ''); |
|
863 | + } else { |
|
864 | + array_push($tempArray, ''); |
|
865 | + } |
|
864 | 866 | |
865 | 867 | if ((($fetchedListingInfo->nodeListingArchived == true) && ($fetchedOCCache->status != 3)) || |
866 | 868 | (($fetchedListingInfo->nodeListingAvailable == false) && ($fetchedOCCache->status == 3))) { |
@@ -24,22 +24,22 @@ |
||
24 | 24 | $builder |
25 | 25 | ->add( |
26 | 26 | 'content_comment_field', TextareaType::class, [ |
27 | - 'attr' => [ |
|
28 | - 'maxlength' => '100000', |
|
29 | - 'overflow' => 'auto', |
|
30 | - 'rows' => '10', |
|
31 | - ], |
|
32 | - 'required' => false, |
|
33 | - 'disabled' => false, |
|
34 | - 'label' => false, |
|
35 | - 'trim' => true |
|
36 | - ] |
|
27 | + 'attr' => [ |
|
28 | + 'maxlength' => '100000', |
|
29 | + 'overflow' => 'auto', |
|
30 | + 'rows' => '10', |
|
31 | + ], |
|
32 | + 'required' => false, |
|
33 | + 'disabled' => false, |
|
34 | + 'label' => false, |
|
35 | + 'trim' => true |
|
36 | + ] |
|
37 | 37 | ) |
38 | 38 | ->add( |
39 | 39 | 'save_comment_button', SubmitType::class, [ |
40 | - 'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'], |
|
41 | - 'label' => ' |