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 = 16-18 lines in 2 locations

src/Hateoas/Representation/OffsetRepresentation.php 1 location

@@ 79-94 (lines=16) @@
76
     * @param integer $limit
77
     * @param integer $total
78
     */
79
    public function __construct(
80
        $inline,
81
        $route,
82
        array $parameters        = array(),
83
        $offset,
84
        $limit,
85
        $total                   = null,
86
        $offsetParameterName     = null,
87
        $limitParameterName      = null,
88
        $absolute                = false
89
    ) {
90
        parent::__construct($inline, $route, $parameters, $limit, $total, $limitParameterName, $absolute);
91
92
        $this->offset              = $offset;
93
        $this->offsetParameterName = $offsetParameterName  ?: 'offset';
94
    }
95
96
    /**
97
     * @return int

src/Hateoas/Representation/PaginatedRepresentation.php 1 location

@@ 82-99 (lines=18) @@
79
     */
80
    private $pageParameterName;
81
82
    public function __construct(
83
        $inline,
84
        $route,
85
        array $parameters        = array(),
86
        $page,
87
        $limit,
88
        $pages,
89
        $pageParameterName       = null,
90
        $limitParameterName      = null,
91
        $absolute                = false,
92
        $total                   = null
93
    ) {
94
        parent::__construct($inline, $route, $parameters, $limit, $total, $limitParameterName, $absolute);
95
96
        $this->page               = $page;
97
        $this->pages              = $pages;
98
        $this->pageParameterName  = $pageParameterName  ?: 'page';
99
    }
100
101
    /**
102
     * @return int