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 moved

Legend:

Unmodified
Added
Removed
  • trunk/Application/BaseView.php

    r94 r95  
    33class BaseView extends View
    44{
    5   function ShowPage($Content)
     5  function ShowPage(string $Content): string
    66  {
    77    global $ReleaseTime, $Revision;
     
    2222      ' &nbsp; <a href="https://app.zdechov.net/estetistic/">Zdrojový kód</a></div>';
    2323    $Output .= '</body></html>';
    24     echo($Output);
     24    return $Output;
    2525  }
    2626
    27   function GetOutput($Page)
     27  function GetOutput(Page $Page): string
    2828  {
    2929    $Output = $this->ShowPage($Page->Show());
Note: See TracChangeset for help on using the changeset viewer.