This check compares the return type specified in the @return annotation of a function
or method doc comment with the types returned by the function and raises an issue if they
mismatch.
Loading history...
19
*/
20
public static function clean_password($data)
21
{
22
if (isset($data['PasswordCheck1']) && isset($data['PasswordCheck2'])) {
23
if ($data['PasswordCheck1'] == $data['PasswordCheck2']) {
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.