File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Tests/Command/CacheClearCommand Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,13 +74,13 @@ function () use ($file) {
74
74
$ containerRef = new \ReflectionClass ($ containerClass );
75
75
$ containerFile = \dirname ($ containerRef ->getFileName (), 2 ).'/ ' .$ containerClass .'.php ' ;
76
76
$ containerMetaFile = $ containerFile .'.meta ' ;
77
- $ this -> kernelRef = new \ReflectionObject ($ this ->kernel );
78
- $ this -> kernelFile = $ this -> kernelRef ->getFileName ();
77
+ $ kernelRef = new \ReflectionObject ($ this ->kernel );
78
+ $ kernelFile = $ kernelRef ->getFileName ();
79
79
/** @var ResourceInterface[] $meta */
80
80
$ meta = unserialize (file_get_contents ($ containerMetaFile ));
81
81
$ found = false ;
82
82
foreach ($ meta as $ resource ) {
83
- if ((string ) $ resource === $ this -> kernelFile ) {
83
+ if ((string ) $ resource === $ kernelFile ) {
84
84
$ found = true ;
85
85
break ;
86
86
}
You can’t perform that action at this time.
0 commit comments