Ignore:
Timestamp:
Nov 20, 2020, 12:08:12 AM (3 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/Packages/Common/Generics.php

    r869 r887  
    55  var $Items = array();
    66
    7   function Add($Item)
     7  function Add($Item): void
    88  {
    99    $this->Items[] = $Item;
    1010  }
    1111
    12   function RemoveAt(int $Index)
     12  function RemoveAt(int $Index): void
    1313  {
    1414    unset($this->Items[$Index]);
Note: See TracChangeset for help on using the changeset viewer.