Code Duplication    Length = 3-3 lines in 2 locations

Console/Application.php 2 locations

@@ 58-60 (lines=3) @@
55
56
    public function onTick()
57
    {
58
        if (!$this->input->hasOption('jms-job-id') || null === $jobId = $this->input->getOption('jms-job-id')) {
59
            return;
60
        }
61
62
        $characteristics = array(
63
            'memory' => memory_get_usage(),
@@ 82-84 (lines=3) @@
79
80
    private function saveDebugInformation(\Throwable $ex = null)
81
    {
82
        if (!$this->input->hasOption('jms-job-id') || null === $jobId = $this->input->getOption('jms-job-id')) {
83
            return;
84
        }
85
86
        $this->getConnection()->executeUpdate(
87
            "UPDATE jms_jobs SET stackTrace = :trace, memoryUsage = :memoryUsage, memoryUsageReal = :memoryUsageReal WHERE id = :id",