File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/Symfony/Component/Config/Resource Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ public function isFresh($timestamp)
74
74
return false ;
75
75
}
76
76
77
- if (filemtime ($ this ->resource ) < $ timestamp ) {
78
- return true ;
77
+ if (filemtime ($ this ->resource ) > $ timestamp ) {
78
+ return false ;
79
79
}
80
80
foreach (new \RecursiveIteratorIterator (new \RecursiveDirectoryIterator ($ this ->resource ), \RecursiveIteratorIterator::SELF_FIRST ) as $ file ) {
81
81
// if regex filtering is enabled only check matching files
@@ -89,12 +89,12 @@ public function isFresh($timestamp)
89
89
continue ;
90
90
}
91
91
92
- if ($ file ->getMTime () < $ timestamp ) {
93
- return true
92
+ if ($ file ->getMTime () > $ timestamp ) {
93
+ return false ;
94
94
}
95
95
}
96
96
97
- return false ;
97
+ return true ;
98
98
}
99
99
100
100
public function serialize ()
You can’t perform that action at this time.
0 commit comments