Ignore:
Timestamp:
Dec 7, 2021, 9:56:09 PM (3 years ago)
Author:
chronos
Message:
  • Fixed: Various PHP 8.0 related fixes.
File:
1 edited

Legend:

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

    r888 r915  
    1010  public int $Port;        // Port to connect to
    1111  public int $Timeout;        // Connection attempt timeout and data read timeout
    12   public int $Socket;             // Variable for storing socket resource
     12  public $Socket;             // Variable for storing socket resource
    1313  public bool $Debug;
    1414  public bool $SSL; // If SSL API connection is used. You need also change port to 8729
     
    2323    $this->Debug = false;
    2424    $this->SSL = false;
    25   }
    26 
    27   function EncodeLength(int $Length): int
     25    $this->ErrorNo = 0;
     26    $this->ErrorStr = "";
     27  }
     28
     29  function EncodeLength(int $Length): string
    2830  {
    2931    if ($Length < 0x80)
Note: See TracChangeset for help on using the changeset viewer.