Code Duplication    Length = 5-5 lines in 2 locations

lib/private/Template/SCSSCacher.php 1 location

@@ 159-163 (lines=5) @@
156
				}
157
				$deps = json_decode($deps, true);
158
159
				foreach ((array)$deps as $file=>$mtime) {
160
					if (!file_exists($file) || filemtime($file) > $mtime) {
161
						return false;
162
					}
163
				}
164
				return true;
165
			}
166
			return false;

lib/private/Template/JSCombiner.php 1 location

@@ 133-137 (lines=5) @@
130
				return false;
131
			}
132
133
			foreach ($deps as $file=>$mtime) {
134
				if (!file_exists($file) || filemtime($file) > $mtime) {
135
					return false;
136
				}
137
			}
138
139
			return true;
140
		} catch(NotFoundException $e) {