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 = 11-11 lines in 2 locations

src/Entity/Chronos/ChronosJobEntity.php 1 location

@@ 118-128 (lines=11) @@
115
     *
116
     * @return mixed[]
117
     */
118
    public function getSimpleArrayCopy()
119
    {
120
        $_aReturn = [];
121
122
        foreach ($this as $_sProperty => $mValue)
123
        {
124
            $_aReturn[$_sProperty] = (is_array($mValue) || is_object($mValue)) ? json_encode($mValue) : $mValue;
125
        }
126
127
        return $_aReturn;
128
    }
129
130
    /**
131
     * @return bool

src/Entity/Marathon/MarathonAppEntity.php 1 location

@@ 176-186 (lines=11) @@
173
     * @inheritdoc
174
     * @return array
175
     */
176
    public function getSimpleArrayCopy()
177
    {
178
        $_aReturn = [];
179
180
        foreach ($this as $_sProperty => $mValue)
181
        {
182
            $_aReturn[$_sProperty] = (is_array($mValue) || is_object($mValue)) ? json_encode($mValue) : $mValue;
183
        }
184
185
        return $_aReturn;
186
    }
187
188
    /**
189
     * @inheritdoc