Problem/Motivation

While checking the code of isAadharValid method found return ($expectedDigit == $actualDigit) ? $expectedDigit == $actualDigit : 0;

Proposed resolution

return ($expectedDigit == $actualDigit) ? 1: 0; as this $expectedDigit == $actualDigit returns 1 eventually.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ankitv18 created an issue. See original summary.

ankitv18’s picture

Issue summary: View changes
ankitv18’s picture

Review patch#3

Replaced with return ($expectedDigit == $actualDigit) ?? 0;

ankitv18’s picture

Assigned: ankitv18 » Unassigned
Status: Active » Needs review

gaurav-mathur made their first commit to this issue’s fork.

  • heni_deepak committed c882a3b on 1.0.x
    Issue #3319256 by ankitv18, gaurav-mathur: Return statement of...

heni_deepak made their first commit to this issue’s fork.

heni_deepak’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.