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/IdRegistry.php 2 locations

@@ 64-71 (lines=8) @@
61
	 *
62
	 * @return string
63
	 */
64
	public function openElement( $tag, $attributes = array() ) {
65
66
		if ( is_array( $attributes ) && isset( $attributes[ 'id' ] ) ) {
67
			$attributes[ 'id' ] = $this->getId( $attributes[ 'id' ] );
68
		}
69
70
		return \Html::openElement( $tag, $attributes );
71
	}
72
73
	/**
74
	 * @param null|string $id
@@ 114-121 (lines=8) @@
111
	 *
112
	 * @return string
113
	 */
114
	public function element( $tag, $attributes = array(), $contents = '' ) {
115
116
		if ( is_array( $attributes ) && isset( $attributes[ 'id' ] ) ) {
117
			$attributes[ 'id' ] = $this->getId( $attributes[ 'id' ] );
118
		}
119
120
		return \Html::rawElement( $tag, $attributes, $contents );
121
	}
122
}
123