Code Duplication    Length = 5-5 lines in 2 locations

lib/private/Template/JSCombiner.php 1 location

@@ 138-142 (lines=5) @@
135
				return false;
136
			}
137
138
			foreach ($deps as $file=>$mtime) {
139
				if (!file_exists($file) || filemtime($file) > $mtime) {
140
					return false;
141
				}
142
			}
143
144
			return true;
145
		} catch(NotFoundException $e) {

lib/private/Template/SCSSCacher.php 1 location

@@ 184-188 (lines=5) @@
181
				}
182
				$deps = json_decode($deps, true);
183
184
				foreach ((array) $deps as $file => $mtime) {
185
					if (!file_exists($file) || filemtime($file) > $mtime) {
186
						return false;
187
					}
188
				}
189
190
				return true;
191
			}