Code Duplication    Length = 5-5 lines in 2 locations

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;

lib/private/Template/JSCombiner.php 1 location

@@ 145-149 (lines=5) @@
142
				return false;
143
			}
144
145
			foreach ($deps as $file=>$mtime) {
146
				if (!file_exists($file) || filemtime($file) > $mtime) {
147
					return false;
148
				}
149
			}
150
151
			return true;
152
		} catch(NotFoundException $e) {