Skip to content

Commit

Permalink
Merge pull request #581 from vyuldashev/fix/errors-on-property-initia…
Browse files Browse the repository at this point in the history
…lization-for-current-job

Fix for errors on $currentJob property
  • Loading branch information
adm-bome authored Jan 26, 2024
2 parents a6f430f + 1d20d3c commit 2fda572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Queue/RabbitMQQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class RabbitMQQueue extends Queue implements QueueContract, RabbitMQQueueContrac
/**
* Current job being processed.
*/
protected RabbitMQJob $currentJob;
protected ?RabbitMQJob $currentJob = null;

/**
* Holds the Configuration
Expand Down

0 comments on commit 2fda572

Please sign in to comment.