Ignore:
Timestamp:
Nov 24, 2020, 10:58:56 AM (4 years ago)
Author:
chronos
Message:
  • Modified: More static types added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigRouterOS/SSH.php

    r874 r888  
    33class SSH
    44{
    5   var $HostName;
    6   var $UserName;
    7   var $Password;
    8   var $Methods;
     5  public string $HostName;
     6  public string $UserName;
     7  public string $Password;
     8  public array $Methods;
    99
    1010  function __construct($HostName = 'localhost', $UserName = 'admin', $Password = '')
     
    1313    $this->UserName = $UserName;
    1414    $this->Password = $Password;
     15    $this->Methods = array();
    1516  }
    1617
    17   function Execute($Commands)
     18  function Execute(array $Commands): array
    1819  {
    1920    echo($Commands);
Note: See TracChangeset for help on using the changeset viewer.