Skip to content

Commit

Permalink
Remove null assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Apr 16, 2020
1 parent 0489030 commit 8520443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public function scopeNotOnGracePeriod($query)
*/
public function incrementQuantity($count = 1, $plan = null)
{
$this->updateQuantity($this->quantity + $count, $plan = null);
$this->updateQuantity($this->quantity + $count, $plan);

return $this;
}
Expand Down

0 comments on commit 8520443

Please sign in to comment.