Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fdbbb1a

Browse filesBrowse files
committed
missing test ?
1 parent 85d4ac4 commit fdbbb1a
Copy full SHA for fdbbb1a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-14
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-14
lines changed

‎src/Symfony/Component/DependencyInjection/Config/AutowireServiceResource.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Config/AutowireServiceResource.php
+1-14Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,7 @@ public function isFresh($timestamp)
3232
return false;
3333
}
3434

35-
// has the file *not* been modified? Definitely fresh
36-
if (@filemtime($this->filePath) <= $timestamp) {
37-
return true;
38-
}
39-
40-
try {
41-
$reflectionClass = new \ReflectionClass($this->class);
42-
} catch (\ReflectionException $e) {
43-
// the class does not exist anymore!
44-
45-
return false;
46-
}
47-
48-
return false;
35+
return @filemtime($this->filePath) <= $timestamp;
4936
}
5037

5138
public function __toString()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.