Fix code smells

This commit is contained in:
2024-06-11 21:57:56 +02:00
parent d4918dd893
commit 94dfa17290
8 changed files with 18 additions and 21 deletions

View File

@ -445,7 +445,7 @@ final class MD_STD {
*
* @param string $url URL to validate.
*
* @return bool
* @return boolean
*/
public static function checkUrlIsReachable(string $url):bool {
@ -952,7 +952,7 @@ final class MD_STD {
* 0000-01-01 > 101; 2001-01-01 > 20010101.
* Needed to retrieve negative dates (BC) stored in MySQL.
*
* @param int $date_int Date represented as an integer.
* @param integer $date_int Date represented as an integer.
*
* @return string
*/
@ -979,6 +979,5 @@ final class MD_STD {
false => '',
} . $year . '-' . $month . '-' . $day;
}
}