We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43d521d commit c099172Copy full SHA for c099172
app/code/Magento/SalesRule/Model/ResourceModel/Rule/Collection.php
@@ -190,9 +190,9 @@ public function setValidationFilter(
190
* Get rules ids related to coupon code
191
*
192
* @param string $couponCode
193
- * @return array|null
+ * @return array
194
*/
195
- private function getCouponRelatedRuleIds(string $couponCode): ?array
+ private function getCouponRelatedRuleIds(string $couponCode): array
196
{
197
$connection = $this->getConnection();
198
$select = $connection->select()->from(
0 commit comments