Skip to content

Commit 1c89e29

Browse files
committed
Config.php modifications
1 parent 30278bc commit 1c89e29

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Model/Config.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ public function isPublishingArrayMode(): bool
4646
*/
4747
public function isBulkApiRequest(): bool
4848
{
49-
if (preg_match(self::BULK_PROCESSOR_PATH_REGEXP, $this->request->getPathInfo()) === 1) {
50-
return true;
51-
}
52-
return false;
49+
return (bool)preg_match(self::BULK_PROCESSOR_PATH_REGEXP, $this->request->getPathInfo());
5350
}
5451
}

0 commit comments

Comments
 (0)