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

@@ 153-164 (lines=12) @@
150
        return $stmt;
151
    }
152
153
    protected function createProperty(string $type, string $name, $details): Property
154
    {
155
        $property = $this->factory->property($name)
156
            ->makeProtected()
157
            ->setDocComment("/**\r\n * @var " . $type . "\r\n */")
158
        ;
159
        if (isset($details['default'])) {
160
            $property->setDefault($details['default']);
161
        }
162
163
        return $property;
164
    }
165
166
    protected function createMethod(
167
        string $type,

src/FileGenerators/EmptyBaseClassGenerator.php 1 location

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