File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class DateRangeFilterIteratorTest extends RealIteratorTestCase
2222 public function testAccept ($ size , $ expected )
2323 {
2424 $ files = self ::$ files ;
25- $ files [] = self ::toAbsolute ('doesnotexist ' );
25+ $ files [] = static ::toAbsolute ('doesnotexist ' );
2626 $ inner = new Iterator ($ files );
2727
2828 $ iterator = new DateRangeFilterIterator ($ inner , $ size );
@@ -84,9 +84,9 @@ public function getAcceptData()
8484 ];
8585
8686 return [
87- [[new DateComparator ('since 20 years ago ' )], $ this -> toAbsolute ($ since20YearsAgo )],
88- [[new DateComparator ('since 2 months ago ' )], $ this -> toAbsolute ($ since2MonthsAgo )],
89- [[new DateComparator ('until last month ' )], $ this -> toAbsolute ($ untilLastMonth )],
87+ [[new DateComparator ('since 20 years ago ' )], static :: toAbsolute ($ since20YearsAgo )],
88+ [[new DateComparator ('since 2 months ago ' )], static :: toAbsolute ($ since2MonthsAgo )],
89+ [[new DateComparator ('until last month ' )], static :: toAbsolute ($ untilLastMonth )],
9090 ];
9191 }
9292}
You can’t perform that action at this time.
0 commit comments