php / web-php

The www.php.net site
http://www.php.net
Other
816 stars 524 forks source link

Fix: Do not pass `null` to function that expects `string` #901

Closed localheinz closed 4 months ago

localheinz commented 6 months ago

This pull request

Spotted in #900.

💁‍♂️ In the first iteration of the inner foreach-loop, $version is null:

https://github.com/php/web-php/blob/e1c61689ade5ce4264e575a0a80fe03d349d670a/include/version.inc#L85-L89

github-actions[bot] commented 6 months ago

🚀 Deployed on https://web-php-pr-901.preview.thephp.foundation

localheinz commented 4 months ago

Thank you, @saundefined!