Verified Commit 7cb91767 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(personal) Remove PHP7 only syntax

issue #5991
Showing with 1 addition and 1 deletion
+1 -1
......@@ -150,7 +150,7 @@ class socialHandler_orcid extends socialHandler
return $value;
}
public static function orcidCheckSum (string $orcid): string
public static function orcidCheckSum ($orcid)
{
/* Remove hyphens, remove last digit, convert to array */
$baseDigits = str_split(str_replace('-', '', substr($orcid, 0, -1)));
......
  • SonarQube analysis reported 2 issues

    • :warning: 2 major

    Note: The following issues were found on lines that were not modified in the commit. Because these issues can't be reported as line comments, they are summarized here:

    1. :warning: This function "getUserValues" has 211 lines, which is greater than the 150 lines authorized. Split it into smaller functions. :blue_book:
    2. :warning: Remove this unused "$class" local variable. :blue_book:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment