Skip to content

Commit

Permalink
Merge pull request #4 from boboldehampsink/patch-1
Browse files Browse the repository at this point in the history
Added support for Craft 4
  • Loading branch information
johanb committed Jul 18, 2022
2 parents 9db578f + ae0bf84 commit 7586e92
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0 - 2022-07-18
### Added
- Added Craft 4 support

## 1.0.3 - 2021-05-06
### Fixed
- Don't take failed jobs into account
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Hirefire (for Craft 3)
# Hirefire (for Craft 4)

Hirefire.io worker scheduler for Craft 3 queue jobs
Hirefire.io worker scheduler for Craft 4 queue jobs

## Installation

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "1.0.3",
"version": "2.0.0",
"name": "nerds-and-company/craft-hirefire",
"description": "Hirefire.io worker scheduler for Craft 3 queue jobs",
"description": "Hirefire.io worker scheduler for Craft 4 queue jobs",
"type": "craft-plugin",
"license": "MIT",
"authors": [{
Expand All @@ -21,8 +21,8 @@
"downloadUrl": "https://github.com/nerds-and-company/craft-hirefire/releases/latest"
},
"require": {
"php": "^7.0 || ^8.0",
"craftcms/cms": "^3.0"
"php": "^8.0",
"craftcms/cms": "^4.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/InfoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class InfoController extends Controller
/**
* @var bool
*/
public $allowAnonymous = true;
public array|bool|int $allowAnonymous = true;

/**
* @param string $token
Expand Down

0 comments on commit 7586e92

Please sign in to comment.