Skip to content

Commit f1a7474

Browse files
committed
Two style fixes
1 parent a5c5ce3 commit f1a7474

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Service/NewSynchronizationService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function getResults(array $configuration, Source $source): array
171171

172172
if ($resultDot->has(keys: $configuration['resultsPath']) === true) {
173173
$return = $resultDot->get(key: $configuration['resultsPath']);
174-
if ($return instanceof Dot) {
174+
if ($return instanceof Dot === true) {
175175
return $return->jsonSerialize();
176176
} else if (is_array($return)) {
177177
return $return;

src/Service/VrijBrpService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public function createCaseNotification(array $data, array $config): array
153153
{
154154
$object = $data['object'];
155155

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

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

0 commit comments

Comments
 (0)