[web-php] master: Fix: Add parameter type declaration (#857)

From: Date: Wed, 06 Dec 2023 14:03:09 +0000
Subject: [web-php] master: Fix: Add parameter type declaration (#857)
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-31173@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-06T14:49:29+01:00 Commit: https://github.com/php/web-php/commit/1d7287778c87b9940f048b3cd55c9582f58f7303 Raw diff: https://github.com/php/web-php/commit/1d7287778c87b9940f048b3cd55c9582f58f7303.diff Fix: Add parameter type declaration (#857) Changed paths: M include/layout.inc Diff: diff --git a/include/layout.inc b/include/layout.inc index dcbc720293..03461ab409 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -481,7 +481,7 @@ function site_header($title = 'Hypertext Preprocessor', $config = []): void require __DIR__ . "/header.inc"; } -function site_footer($config = []): void +function site_footer(array $config = []): void { require __DIR__ . "/footer.inc"; }

« previous php.webmaster (#31173) next »