Skip to content

[Insight] Unused method, property, variable or parameter - in lib/Qless/Worker.php, line 19 #2

@baohx2000

Description

@baohx2000

in lib/Qless/Worker.php, line 19

This processType attribute is declared but never used. You should remove it.

    const PROCESS_TYPE_MASTER = 0;
    const PROCESS_TYPE_JOB = 1;
    const PROCESS_TYPE_WATCHDOG = 2;

    private $processType = self::PROCESS_TYPE_MASTER;

    /**
     * @var Queue[]
     */
    private $queues = array();

Posted from SensioLabsInsight

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions