File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/PHPFUI/HTMLUnitTester Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1414
1515class Extensions extends \PHPUnit \Framework \TestCase implements \PHPUnit \Runner \Hook
1616 {
17- private static $ throttle ;
17+ private static ? \ PHPFUI \ HTMLUnitTester \ Throttle $ throttle = null ;
1818
19- private static $ validator ;
19+ private static ? \ HtmlValidator \ Validator $ validator = null ;
2020
2121 public static function setUpBeforeClass () : void
2222 {
@@ -28,7 +28,7 @@ public static function setUpBeforeClass() : void
2828 throw new \PHPUnit \Framework \Exception ($ url . ' is not a valid URL ' );
2929 }
3030
31- self ::$ throttle = new Throttle ($ throttleMicroSeconds );
31+ self ::$ throttle = new \ PHPFUI \ HTMLUnitTester \ Throttle ($ throttleMicroSeconds );
3232 self ::$ validator = new \HtmlValidator \Validator ($ url );
3333 }
3434
Original file line number Diff line number Diff line change 1919 */
2020class Throttle
2121 {
22- private $ lastAccessed = 0.0 ;
22+ private float $ lastAccessed = 0.0 ;
2323
24- private $ microseconds = 0.0 ;
24+ private float $ microseconds = 0.0 ;
2525
2626 /**
2727 * There are 1 million microsecond in a second.
You can’t perform that action at this time.
0 commit comments