- 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:
Daniel Mason 2018-07-16 09:59:58 +12:00
parent f69330d637
commit 4e87677517
10 changed files with 65 additions and 29 deletions

View file

@ -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';
}