Fix code smells
This commit is contained in:
8 files changed
+18
-21
No files matched your search
+2
-3
@@ -445,7 +445,7 @@ public static function runCurlMulti(array $urls, int $timeout = 1200, array $hea
|
||||
*
|
||||
* @param string $url URL to validate.
|
||||
*
|
||||
* @return bool
|
||||
* @return boolean
|
||||
*/
|
||||
public static function checkUrlIsReachable(string $url):bool {
|
||||
|
||||
@@ -952,7 +952,7 @@ public static function date_to_int(string $date):int {
|
||||
* 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 @@ public static function int_to_date(int $date_int):string {
|
||||
false => '',
|
||||
} . $year . '-' . $month . '-' . $day;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user