Skip to content

Commit

Permalink
Improve craft 3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Roel van Hintum committed Jul 24, 2023
1 parent 17b84d3 commit 71100b5
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,6 +1,10 @@
Changelog
==================

## 2.2.1 - 2023-07-24
### Fixes
- Improve craft 3 compatibility

## 2.2.0 - 2023-03-06
### Changes
- Initial public release
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"craftcms/cms": "^3.0.0 || ^4.0.0"
"craftcms/cms": "^3.0.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/SubscribeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class SubscribeController extends Controller
/**
* @inheritdoc
*/
protected array|int|bool $allowAnonymous = true;
protected $allowAnonymous = self::ALLOW_ANONYMOUS_LIVE;

// Public Methods
// =========================================================================
Expand Down

0 comments on commit 71100b5

Please sign in to comment.