GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 8-9 lines in 2 locations

src/Service/JobRepository/BridgeChronos.php 1 location

@@ 124-132 (lines=9) @@
121
     * @param ChronosJobEntity|JobEntityInterface $jobEntity
122
     * @return bool
123
     */
124
    public function removeJob(JobEntityInterface $jobEntity)
125
    {
126
        if ($this->apiClient->removeJob($jobEntity->getKey())) {
127
            $this->cacheHasToDelete = true;
128
            return true;
129
        }
130
131
        return false;
132
    }
133
134
    /**
135
     * @param JobEntityInterface $jobEntity

src/Service/JobRepository/BridgeMarathon.php 1 location

@@ 109-116 (lines=8) @@
106
     * @param JobEntityInterface $jobEntity
107
     * @return bool
108
     */
109
    public function removeJob(JobEntityInterface $jobEntity)
110
    {
111
        if ($this->apiClient->removeJob($jobEntity->getKey())) {
112
            $this->cacheHasToDelete = true;
113
            return true;
114
        }
115
        return false;
116
    }
117
118
    /**
119
     * @return array|mixed