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 = 9-9 lines in 3 locations

src/Model/SubscriptionPlanObject.php 1 location

@@ 205-213 (lines=9) @@
202
     * @return SubscriptionPlanObject
203
     * @throws \InvalidArgumentException If the VAT is not between 0 - 100.
204
     */
205
    public function setVatPercent($vatPercent)
206
    {
207
        if ($vatPercent < 0 || $vatPercent > 100) {
208
            throw new \InvalidArgumentException('VAT must be between 0 - 100');
209
        }
210
        $this->vatPercent = $vatPercent;
211
212
        return $this;
213
    }
214
}
215

src/Model/Addon.php 1 location

@@ 228-236 (lines=9) @@
225
     * @return $this
226
     * @throws \InvalidArgumentException If the percent is not between 0 and 100
227
     */
228
    public function setVatPercent($vatPercent)
229
    {
230
        if ($vatPercent < 0 || $vatPercent > 100) {
231
            throw new \InvalidArgumentException('VAT percentage must be between 0-100');
232
        }
233
        $this->vatPercent = $vatPercent;
234
235
        return $this;
236
    }
237
}
238

src/Model/ArticleTrait.php 1 location

@@ 471-479 (lines=9) @@
468
     * @return $this
469
     * @throws \InvalidArgumentException If the percent is not between 0 and 100
470
     */
471
    public function setVatPercent($vatPercent)
472
    {
473
        if ($vatPercent < 0 || $vatPercent > 100) {
474
            throw new \InvalidArgumentException('VAT percentage must be between 0-100');
475
        }
476
        $this->vatPercent = $vatPercent;
477
478
        return $this;
479
    }
480
481
    /**
482
     * Get the subscription interval.