[web-php] master: Fix: Add parameter type declarations (#866)

From: Date: Wed, 06 Dec 2023 15:21:20 +0000
Subject: [web-php] master: Fix: Add parameter type declarations (#866)
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-31195@lists.php.net to get a copy of this message
Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: kamil-tekiela Date: 2023-12-06T16:07:40+01:00 Commit: https://github.com/php/web-php/commit/2a436141769f0562418dcda900582de69d773545 Raw diff: https://github.com/php/web-php/commit/2a436141769f0562418dcda900582de69d773545.diff Fix: Add parameter type declarations (#866) Changed paths: M include/layout.inc Diff: diff --git a/include/layout.inc b/include/layout.inc index e325fe5d7c..e6acd0fc96 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -447,7 +447,7 @@ EOT; return $retval; } -function site_header($title = 'Hypertext Preprocessor', $config = []): void +function site_header(string $title = 'Hypertext Preprocessor', array $config = []): void { global $MYSITE;

« previous php.webmaster (#31195) next »