Skip to content

Commit

Permalink
Merge pull request #111 from mostafaznv/main
Browse files Browse the repository at this point in the history
Fix: Add `$job` property to `QueueableAction` to address deprecated dynamic properties in PHP >= 8.2
  • Loading branch information
freekmurze authored Jan 19, 2025
2 parents 11db345 + 6d441ec commit 356cb39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.2, 8.1, 8.0]
php: [8.4, 8.3, 8.2, 8.1, 8.0]
laravel: ['9.*', '10.*', '11.*']
dependency-version: [prefer-stable]
include:
Expand Down
3 changes: 3 additions & 0 deletions src/QueueableAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@

namespace Spatie\QueueableAction;

use Illuminate\Contracts\Queue\Job;
use Spatie\QueueableAction\Exceptions\InvalidConfiguration;

trait QueueableAction
{
public ?Job $job;

/**
* @return static
*/
Expand Down

0 comments on commit 356cb39

Please sign in to comment.