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/FileGenerators/BaseClassGenerator.php 1 location

@@ 168-179 (lines=12) @@
165
        return $stmt;
166
    }
167
168
    protected function createProperty(string $type, string $name, $details): Property
169
    {
170
        $property = $this->factory->property($name)
171
            ->makeProtected()
172
            ->setDocComment("/**\r\n * @var " . $type . "\r\n */")
173
        ;
174
        if (isset($details['default'])) {
175
            $property->setDefault($details['default']);
176
        }
177
178
        return $property;
179
    }
180
181
    protected function createMethod(
182
        array $types,

src/FileGenerators/EmptyBaseClassGenerator.php 1 location

@@ 144-155 (lines=12) @@
141
        return $stmt;
142
    }
143
144
    protected function createProperty(string $type, string $name, $details): Property
145
    {
146
        $property = $this->factory->property($name)
147
            ->makeProtected()
148
            ->setDocComment("/**\r\n * @var " . $type . "\r\n */")
149
        ;
150
        if (isset($details['default'])) {
151
            $property->setDefault($details['default']);
152
        }
153
154
        return $property;
155
    }
156
157
    protected function createMethod(
158
        array $types,