Skip to content

Commit

Permalink
Use correct method visibility (#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored Jun 17, 2021
1 parent cc00c35 commit 688204e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ public function asStripeSubscription(array $expand = [])
*
* @return \Illuminate\Database\Eloquent\Factories\Factory
*/
public static function newFactory()
protected static function newFactory()
{
return SubscriptionFactory::new();
}
Expand Down
2 changes: 1 addition & 1 deletion src/SubscriptionItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public function asStripeSubscriptionItem(array $expand = [])
*
* @return \Illuminate\Database\Eloquent\Factories\Factory
*/
public static function newFactory()
protected static function newFactory()
{
return SubscriptionItemFactory::new();
}
Expand Down

0 comments on commit 688204e

Please sign in to comment.