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/Model/Button/WebUrl.php 2 locations

@@ 78-85 (lines=8) @@
75
    /**
76
     * @param string $ratio
77
     */
78
    public function setWebviewHeightRatio($ratio)
79
    {
80
        if (!in_array($ratio, $this->getAllowedHeights())) {
81
            throw new \InvalidArgumentException(sprintf('Webview height ratio must be one of this values: [%s]', implode(', ', $this->getAllowedHeights())));
82
        }
83
84
        $this->webviewHeightRatio = $ratio;
85
    }
86
87
    /**
88
     * @param bool $messengerExtensions
@@ 130-137 (lines=8) @@
127
    /**
128
     * @param $value
129
     */
130
    public function setWebviewShareButton($value)
131
    {
132
        if (!in_array($value, $this->getAllowedWebviewShareButton())) {
133
          throw new \InvalidArgumentException(sprintf('Webview share button must be one of this values: [%s]', implode(', ', $this->getAllowedWebviewShareButton())));
134
        }
135
136
        $this->webviewShareButton = $value;
137
    }
138
139
    /**
140
     * @return string|null