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

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