Changeset 887 for trunk/Modules/SpeedTest/SpeedTest.php
- Timestamp:
- Nov 20, 2020, 12:08:12 AM (5 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  trunk/Modules/SpeedTest/SpeedTest.php (modified) (5 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/Modules/SpeedTest/SpeedTest.phpr874 r887 14 14 class ModuleSpeedTest extends AppModule 15 15 { 16 function __construct( $System)16 function __construct(System $System) 17 17 { 18 18 parent::__construct($System); … … 25 25 } 26 26 27 function DoStart() 27 function DoStart(): void 28 28 { 29 29 $this->System->Pages['speedtest'] = 'PageSpeedTest'; … … 33 33 class PageSpeedTest extends Page 34 34 { 35 var $FullTitle = 'Test rychlosti připojení'; 36 var $ShortTitle = 'Test rychlosti'; 37 var $ParentClass = 'PagePortal'; 35 function __construct(System $System) 36 { 37 parent::__construct($System); 38 $this->FullTitle = 'Test rychlosti připojení'; 39 $this->ShortTitle = 'Test rychlosti'; 40 $this->ParentClass = 'PagePortal'; 41 } 38 42 39 function Show() 43 function Show(): string 40 44 { 41 45 if (count($this->System->PathItems) > 1) … … 47 51 } 48 52 49 function ShowDownload() 53 function ShowDownload(): void 50 54 { 51 55 global $config; … … 54 58 } 55 59 56 function ShowMain() 60 function ShowMain(): string 57 61 { 58 62 global $config; 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
