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

src/Components/Card.php 1 location

@@ 69-76 (lines=8) @@
66
     * @return $this
67
     * @throws CouldNotSendNotification
68
     */
69
    public function buttons(array $buttons = [])
70
    {
71
        if (count($buttons) > 3) {
72
            throw CouldNotCreateMessage::messageButtonsLimitExceeded();
73
        }
74
        $this->buttons = $buttons;
75
        return $this;
76
    }
77
78
    /**
79
     * Set Card Item Url

src/FacebookMessage.php 1 location

@@ 171-178 (lines=8) @@
168
     * @return $this
169
     * @throws CouldNotSendNotification
170
     */
171
    public function buttons(array $buttons = [])
172
    {
173
        if (count($buttons) > 3) {
174
            throw CouldNotCreateMessage::messageButtonsLimitExceeded();
175
        }
176
        $this->buttons = $buttons;
177
        return $this;
178
    }
179
180
    /**
181
     * Determine if user id is not given.