Code Duplication    Length = 5-5 lines in 2 locations

lib/private/Template/JSCombiner.php 1 location

@@ 126-130 (lines=5) @@
123
				return false;
124
			}
125
126
			foreach ($deps as $file=>$mtime) {
127
				if (!file_exists($file) || filemtime($file) > $mtime) {
128
					return false;
129
				}
130
			}
131
132
			return true;
133
		} catch(NotFoundException $e) {

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;