Skip to content

Commit

Permalink
fix: PHP 8.2 deprecation warning on IlluminateThrottleRepository.php
Browse files Browse the repository at this point in the history
  • Loading branch information
n1crack authored and brunogaspar committed Aug 10, 2023
1 parent 9fffee4 commit 198b8d8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Throttling/IlluminateThrottleRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ class IlluminateThrottleRepository implements ThrottleRepositoryInterface
* @var \Illuminate\Database\Eloquent\Collection
*/
protected $userThrottles = [];

/**
* The EloquentThrottle Model.
*
* @var string
*/
protected $model;

protected $model;

Expand Down

2 comments on commit 198b8d8

@murphatron
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey folks! This commit causes a fatal error Cannot redeclare Cartalyst\Sentinel\Throttling\IlluminateThrottleRepository::$model.

@brunogaspar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey folks! This commit causes a fatal error Cannot redeclare Cartalyst\Sentinel\Throttling\IlluminateThrottleRepository::$model.

💩 will do a hot fix release in a bit!

Please sign in to comment.