Code Duplication    Length = 7-7 lines in 2 locations

projects/packages/changelogger/src/Config.php 2 locations

@@ 161-167 (lines=7) @@
158
	 *
159
	 * @return string
160
	 */
161
	public static function changelogFile() {
162
		self::load();
163
		if ( ! isset( self::$cache['changelog'] ) ) {
164
			self::$cache['changelog'] = self::addBase( self::$config['changelog'] );
165
		}
166
		return self::$cache['changelog'];
167
	}
168
169
	/**
170
	 * Get the changes directory.
@@ 174-180 (lines=7) @@
171
	 *
172
	 * @return string
173
	 */
174
	public static function changesDir() {
175
		self::load();
176
		if ( ! isset( self::$cache['changes-dir'] ) ) {
177
			self::$cache['changes-dir'] = self::addBase( self::$config['changes-dir'] );
178
		}
179
		return self::$cache['changes-dir'];
180
	}
181
182
	/**
183
	 * Get the link.