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-15 lines in 5 locations

src/MapAPI.php 3 locations

@@ 318-327 (lines=10) @@
315
	 * @return $this
316
	 * @throws InvalidArgumentException
317
	 */
318
	public function isStaticMap($staticMap = TRUE)
319
	{
320
		if (!is_bool($staticMap))
321
		{
322
			throw new InvalidArgumentException("staticMap must be boolean, $staticMap (".gettype($staticMap).") was given");
323
		}
324
325
		$this->staticMap = $staticMap;
326
		return $this;
327
	}
328
329
330
	/**
@@ 344-358 (lines=15) @@
341
	 * @return $this
342
	 * @throws InvalidArgumentException
343
	 */
344
	public function isClickable($clickable = TRUE)
345
	{
346
		if (!$this->staticMap)
347
		{
348
			throw new InvalidArgumentException("the 'clickable' option only applies to static map");
349
		}
350
351
		if (!is_bool($clickable))
352
		{
353
			throw new InvalidArgumentException("clickable must be boolean, $clickable (".gettype($clickable).") was given");
354
		}
355
356
		$this->clickable = $clickable;
357
		return $this;
358
	}
359
360
361
	/**
@@ 375-384 (lines=10) @@
372
	 * @return $this
373
	 * @throws InvalidArgumentException
374
	 */
375
	public function isScrollable($scrollable = TRUE)
376
	{
377
		if (!is_bool($scrollable))
378
		{
379
			throw new InvalidArgumentException("staticMap must be boolean, $scrollable (".gettype($scrollable).") was given");
380
		}
381
		
382
		$this->scrollable = $scrollable;
383
		return $this;
384
	}
385
386
387
	/**

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