We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30278bc commit 1c89e29Copy full SHA for 1c89e29
1 file changed
Model/Config.php
@@ -46,9 +46,6 @@ public function isPublishingArrayMode(): bool
46
*/
47
public function isBulkApiRequest(): bool
48
{
49
- if (preg_match(self::BULK_PROCESSOR_PATH_REGEXP, $this->request->getPathInfo()) === 1) {
50
- return true;
51
- }
52
- return false;
+ return (bool)preg_match(self::BULK_PROCESSOR_PATH_REGEXP, $this->request->getPathInfo());
53
}
54
0 commit comments