Ignore:
Timestamp:
Dec 6, 2021, 11:33:48 AM (3 years ago)
Author:
chronos
Message:
  • Modified: Updated Common package.
  • Added: Explicit types for better type checking.
  • Fixed: Support for php 8.0.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/UpdateTrace.php

    r92 r95  
    11<?php
    22
    3 function FullInstall($Manager)
     3function FullInstall($Manager): void
    44{
    55   $Manager->Execute('CREATE TABLE IF NOT EXISTS `SystemVersion` (
     
    2929}
    3030
    31 function UpdateTo67($Manager)
     31function UpdateTo67($Manager): void
    3232{
    3333  $Manager->Execute('RENAME TABLE `measure` TO `Measure`;');
     
    5858}
    5959
    60 function UpdateTo79($Manager)
     60function UpdateTo79($Manager): void
    6161{
    6262  $DbResult = $Manager->Execute('SELECT `DataTable`,`DataType` FROM `Measure`;');
     
    7878class Updates
    7979{
    80   function Get()
     80  function Get(): array
    8181  {
    8282    return array(
Note: See TracChangeset for help on using the changeset viewer.