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

src/ManipulationSequence.php 2 locations

@@ 125-135 (lines=11) @@
122
    /*
123
    * Determine if the sequences contain a manipulation with the given name.
124
    */
125
    public function getFirstManipulationArgument($searchManipulationName)
126
    {
127
        foreach ($this->groups as $group) {
128
            foreach ($group as $name => $argument) {
129
                if ($name === $searchManipulationName) {
130
                    return $argument;
131
                }
132
            }
133
            return null;
134
        }
135
    }
136
137
    /*
138
    * Determine if the sequences contain a manipulation with the given name.
@@ 140-150 (lines=11) @@
137
    /*
138
    * Determine if the sequences contain a manipulation with the given name.
139
    */
140
    public function contains($searchManipulationName)
141
    {
142
        foreach ($this->groups as $group) {
143
            foreach ($group as $name => $argument) {
144
                if ($name === $searchManipulationName) {
145
                    return true;
146
                }
147
            }
148
            return false;
149
        }
150
    }
151
}
152