mirror of
https://github.com/idanoo/php-resque
synced 2025-07-02 06:02:21 +00:00
- Updated README to include supervisor configuration.
- Change logfile date format to `%Y-%m-%d %T`. - Added return types to more functions.
This commit is contained in:
parent
f69330d637
commit
4e87677517
10 changed files with 65 additions and 29 deletions
|
@ -66,7 +66,7 @@ class Resque_Job_Status
|
|||
*
|
||||
* @return boolean True if the status is being monitored, false if not.
|
||||
*/
|
||||
public function isTracking()
|
||||
public function isTracking(): bool
|
||||
{
|
||||
if ($this->isTracking === false) {
|
||||
return false;
|
||||
|
@ -137,7 +137,7 @@ class Resque_Job_Status
|
|||
*
|
||||
* @return string String representation of the current job status class.
|
||||
*/
|
||||
public function __toString()
|
||||
public function __toString(): string
|
||||
{
|
||||
return 'job:' . $this->id . ':status';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue