Skip to content

Commit fbddfaf

Browse files
committed
2927: Removed casts to int
1 parent 5e9e8e2 commit fbddfaf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Feed/EventDatabaseApiV2FeedType.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,12 +296,12 @@ public function getConfigOptions(Request $request, FeedSource $feedSource, strin
296296

297297
if (isset($query['organization'])) {
298298
$organizer = $query['organization'];
299-
$queryParams['event.organizer.entityId'] = (int) $organizer;
299+
$queryParams['event.organizer.entityId'] = $organizer;
300300
}
301301

302302
if (isset($query['location'])) {
303303
$location = $query['location'];
304-
$queryParams['event.location.entityId'] = (int) $location;
304+
$queryParams['event.location.entityId'] = $location;
305305
}
306306

307307
$numberOfItems = isset($query['numberOfItems']) ? (int) $query['numberOfItems'] : 10;
@@ -325,12 +325,12 @@ public function getConfigOptions(Request $request, FeedSource $feedSource, strin
325325

326326
if (isset($query['organization'])) {
327327
$organizer = $query['organization'];
328-
$queryParams['organizer.entityId'] = (int) $organizer;
328+
$queryParams['organizer.entityId'] = $organizer;
329329
}
330330

331331
if (isset($query['location'])) {
332332
$location = $query['location'];
333-
$queryParams['location.entityId'] = (int) $location;
333+
$queryParams['location.entityId'] = $location;
334334
}
335335

336336
$queryParams['occurrences.start'] = date('c');

0 commit comments

Comments
 (0)