Skip to content

Commit

Permalink
fix: native type class constant
Browse files Browse the repository at this point in the history
  • Loading branch information
michtio committed Dec 16, 2024
1 parent 6e0f34e commit ab6b2ca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes for Password Policy

## 5.0.2 - 2024-12-16
### Fixed
- Fixed native type class constant as those are only allowed from PHP8.3+

## 5.0.1.1 - 2024-12-16
### Fixed
- More ECS fixes after PHPStan fixes
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "craftpulse/craft-password-policy",
"description": "Password Policy plugin",
"type": "craft-plugin",
"version": "5.0.1.1",
"version": "5.0.2",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/services/PasswordService.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*/
class PasswordService extends Component
{
public const string PWNED_ENDPOINT = 'https://api.pwnedpasswords.com/range/';
public const PWNED_ENDPOINT = 'https://api.pwnedpasswords.com/range/';

/**
* @var SettingsModel
Expand Down

0 comments on commit ab6b2ca

Please sign in to comment.