Skip to content

Commit

Permalink
Two style fixes
Browse files Browse the repository at this point in the history
rjzondervan committed Oct 4, 2024
1 parent a5c5ce3 commit f1a7474
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Service/NewSynchronizationService.php
Original file line number Diff line number Diff line change
@@ -171,7 +171,7 @@ public function getResults(array $configuration, Source $source): array

if ($resultDot->has(keys: $configuration['resultsPath']) === true) {
$return = $resultDot->get(key: $configuration['resultsPath']);
if ($return instanceof Dot) {
if ($return instanceof Dot === true) {
return $return->jsonSerialize();
} else if (is_array($return)) {
return $return;
2 changes: 1 addition & 1 deletion src/Service/VrijBrpService.php
Original file line number Diff line number Diff line change
@@ -153,7 +153,7 @@ public function createCaseNotification(array $data, array $config): array
{
$object = $data['object'];

if ($object instanceof ObjectEntity) {
if ($object instanceof ObjectEntity === true) {
$array = $object->toArray(['embedded' => true]);

if (in_array(needle: $array['toelichting'], haystack: ['intra_mun_relocation', 'inter_mun_relocation']) === true) {

Check warning on line 159 in src/Service/VrijBrpService.php

GitHub Actions / build

Line exceeds 125 characters; contains 127 characters

Check warning on line 159 in src/Service/VrijBrpService.php

GitHub Actions / build

Line exceeds 125 characters; contains 127 characters

0 comments on commit f1a7474

Please sign in to comment.