Ignore:
Timestamp:
Dec 27, 2022, 7:50:23 PM (17 months ago)
Author:
chronos
Message:
  • Modified: Updated Common package to latest version.
  • Modified: Fixes related to PHP 8.x.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Dictionary/Dictionary.php

    r880 r888  
    11<?php
    22
    3 class ModuleDictionary extends AppModule
     3class ModuleDictionary extends Module
    44{
    55  function __construct(System $System)
     
    1414  }
    1515
    16   function DoStart()
    17   {
    18     $this->System->RegisterPage('dictionary', 'PageDictionary');
    19     $this->System->RegisterMenuItem(array(
     16  function DoStart(): void
     17  {
     18    $this->System->RegisterPage(['dictionary'], 'PageDictionary');
     19    Core::Cast($this->System)->RegisterMenuItem(array(
    2020      'Name' => 'Dictionary',
    2121      'Title' => T('Dictionary'),
     
    311311  }
    312312
    313   function Show()
     313  function Show(): string
    314314  {
    315315    global $LanguageList;
Note: See TracChangeset for help on using the changeset viewer.