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

@@ 165-169 (lines=5) @@
162
				}
163
				$deps = json_decode($deps, true);
164
165
				foreach ((array)$deps as $file=>$mtime) {
166
					if (!file_exists($file) || filemtime($file) > $mtime) {
167
						return false;
168
					}
169
				}
170
				return true;
171
			}
172
			return false;