Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 152-158 (lines=7) @@
149
	 *
150
	 * @return string
151
	 */
152
	public static function changelogFile() {
153
		self::load();
154
		if ( ! isset( self::$cache['changelog'] ) ) {
155
			self::$cache['changelog'] = self::addBase( self::$config['changelog'] );
156
		}
157
		return self::$cache['changelog'];
158
	}
159
160
	/**
161
	 * Get the changes directory.
@@ 165-171 (lines=7) @@
162
	 *
163
	 * @return string
164
	 */
165
	public static function changesDir() {
166
		self::load();
167
		if ( ! isset( self::$cache['changes-dir'] ) ) {
168
			self::$cache['changes-dir'] = self::addBase( self::$config['changes-dir'] );
169
		}
170
		return self::$cache['changes-dir'];
171
	}
172
173
	/**
174
	 * Get the link.