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

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

src/FileGenerators/EmptyBaseClassGenerator.php 1 location

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