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/ShoutBox/ShoutBox.php

    r880 r888  
    11<?php
    22
    3 class ModuleShoutBox extends AppModule
     3class ModuleShoutBox extends Module
    44{
    55  function __construct(System $System)
     
    1414  }
    1515
    16   function DoStart()
     16  function DoStart(): void
    1717  {
    18     $this->System->RegisterPage('shoutbox', 'PageShoutBox');
     18    $this->System->RegisterPage(['shoutbox'], 'PageShoutBox');
    1919    $this->System->ModuleManager->Modules['News']->RegisterRSS(array(
    2020      'Title' => T('Shoutbox'), 'Channel' => 'shoutbox', 'Callback' => array('PageShoutBox', 'ShowRSS'),
     
    4242class PageShoutBox extends Page
    4343{
    44   function Show()
     44  function Show(): string
    4545  {
    4646    $this->Title = T('Shoutbox');
Note: See TracChangeset for help on using the changeset viewer.