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 = 10-10 lines in 4 locations

src/Markers.php 2 locations

@@ 143-152 (lines=10) @@
140
	 * @return $this
141
	 * @throws InvalidArgumentException
142
	 */
143
	public function isMarkerClusterer($cluster = true)
144
	{
145
		if (!is_bool($cluster))
146
		{
147
			throw new InvalidArgumentException("cluster must be boolean, $cluster (".gettype($cluster).") was given");
148
		}
149
		
150
		$this->markerClusterer = $cluster;
151
		return $this;
152
	}
153
154
155
	/**
@@ 189-198 (lines=10) @@
186
	 * @return $this
187
	 * @throws InvalidArgumentException
188
	 */
189
	public function fitBounds($bound = true)
190
	{
191
		if (!is_bool($bound))
192
		{
193
			throw new InvalidArgumentException("fitBounds must be boolean, $bound (".gettype($bound).") was given");
194
		}
195
196
		$this->bound = $bound;
197
		return $this;
198
	}
199
	
200
	
201
	/**

src/MapAPI.php 2 locations

@@ 319-328 (lines=10) @@
316
	 * @return $this
317
	 * @throws InvalidArgumentException
318
	 */
319
	public function isStaticMap($staticMap = TRUE)
320
	{
321
		if (!is_bool($staticMap))
322
		{
323
			throw new InvalidArgumentException("staticMap must be boolean, $staticMap (".gettype($staticMap).") was given");
324
		}
325
326
		$this->staticMap = $staticMap;
327
		return $this;
328
	}
329
330
331
	/**
@@ 386-395 (lines=10) @@
383
	 * @return $this
384
	 * @throws InvalidArgumentException
385
	 */
386
	public function isScrollable($scrollable = TRUE)
387
	{
388
		if (!is_bool($scrollable))
389
		{
390
			throw new InvalidArgumentException("staticMap must be boolean, $scrollable (".gettype($scrollable).") was given");
391
		}
392
		
393
		$this->scrollable = $scrollable;
394
		return $this;
395
	}
396
397
398
	/**