Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
mattias-persson authored and StyleCIBot committed Dec 3, 2018
1 parent 0e1e606 commit 363bf66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/CartDiscountController.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function store(Request $request)
$rules = ['required', 'string'];

// Configurated rules.
if (!empty(config('shopr.discount_coupons.validation_rules'))) {
if (! empty(config('shopr.discount_coupons.validation_rules'))) {
foreach (config('shopr.discount_coupons.validation_rules') as $rule) {
$rules[] = new $rule;
}
Expand Down

0 comments on commit 363bf66

Please sign in to comment.