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

src/Hydrator.php 2 locations

@@ 125-136 (lines=12) @@
122
     * @param array $json
123
     * @return ResourceInterface
124
     */
125
    public function hydrate(string $class, array $json): ResourceInterface
126
    {
127
        $fullClassName = implode(
128
            '\\',
129
            [
130
                $this->options[Options::NAMESPACE],
131
                $this->options[Options::NAMESPACE_SUFFIX],
132
                $class,
133
            ]
134
        );
135
        return $this->hydrateFQCN($fullClassName, $json);
136
    }
137
138
    /**
139
     * @param string $class
@@ 243-254 (lines=12) @@
240
     * @param ResourceInterface $object
241
     * @return array
242
     */
243
    public function extract(string $class, ResourceInterface $object): array
244
    {
245
        $fullClassName = implode(
246
            '\\',
247
            [
248
                $this->options[Options::NAMESPACE],
249
                $this->options[Options::NAMESPACE_SUFFIX],
250
                $class,
251
            ]
252
        );
253
        return $this->extractFQCN($fullClassName, $object);
254
    }
255
256
    /**
257
     * Takes a fully qualified class name and extracts the data for that class from the given $object