Ignore:
Timestamp:
Nov 20, 2020, 12:08:12 AM (4 years ago)
Author:
chronos
Message:
  • Added: Static types added to almost all classes, methods and function. Supported by PHP 7.4.
  • Fixed: Various found code issues.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigLinux/Generators/DNS.php

    r873 r887  
    77class ConfigDNS extends NetworkConfigItem
    88{
    9   function GenerateDNS($DNS)
     9  function GenerateDNS(array $DNS): void
    1010  {
    1111    $Output = '$ORIGIN '.$DNS['Domain'].'.'."\n".
     
    147147  }
    148148
    149   function Run()
     149  function Run(): void
    150150  {
    151151    $BaseDomain = 'zdechov.net';
Note: See TracChangeset for help on using the changeset viewer.