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/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
	/**

src/Markers.php 2 locations

@@ 165-174 (lines=10) @@
162
	 * @return $this
163
	 * @throws InvalidArgumentException
164
	 */
165
	public function isMarkerClusterer($cluster = true)
166
	{
167
		if (!is_bool($cluster))
168
		{
169
			throw new InvalidArgumentException("cluster must be boolean, $cluster (".gettype($cluster).") was given");
170
		}
171
		
172
		$this->markerClusterer = $cluster;
173
		return $this;
174
	}
175
176
177
	/**
@@ 211-220 (lines=10) @@
208
	 * @return $this
209
	 * @throws InvalidArgumentException
210
	 */
211
	public function fitBounds($bound = true)
212
	{
213
		if (!is_bool($bound))
214
		{
215
			throw new InvalidArgumentException("fitBounds must be boolean, $bound (".gettype($bound).") was given");
216
		}
217
218
		$this->bound = $bound;
219
		return $this;
220
	}
221
	
222
	
223
	/**