This commit is contained in:
Frédéric FRANCE 2021-04-05 22:54:13 +02:00 committed by GitHub
parent a3fb8d3e14
commit d44bf8be14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -681,9 +681,9 @@ $db->close();
/** /**
* Verify if $haystack startswith $needle * Verify if $haystack startswith $needle
* *
* @param String $haystack string to test * @param string $haystack string to test
* @param String $needle string to find * @param string $needle string to find
* @return false if Ko true else * @return bool false if Ko true else
*/ */
function startsWith($haystack, $needle) function startsWith($haystack, $needle)
{ {
@ -695,8 +695,8 @@ function startsWith($haystack, $needle)
* Fetch object with ref * Fetch object with ref
* *
* @param Object $static_object static object to fetch * @param Object $static_object static object to fetch
* @param String $tmp_ref ref of the object to fetch * @param string $tmp_ref ref of the object to fetch
* @return <0 if Ko or Id of object * @return int <0 if Ko or Id of object
*/ */
function fetchref($static_object, $tmp_ref) function fetchref($static_object, $tmp_ref)
{ {