[web-php] PR #580: Simplify links
| From: | kamil-tekiela | Date: | Tue, 28 Jun 2022 13:35:15 +0000 |
| Subject: | [web-php] PR #580: Simplify links | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-30175@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/web-php/pull/580
Author: kamil-tekiela
A function just to print the result of another function already exists in PHP, it's
echo. So let's remove print_link and all unused parameters. Declare
types to be string from bottom-up. Warning: it relies on type coercion from false to string just
like it did before.