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

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