Closed Xercoy closed 10 years ago
Changed the second if block to if else instead since only one of the two will ever be true at one time. Also removed the return statement return nil from each block since the return statement of the function is already return nil.
if
if else
return nil
Changed the second
if
block toif else
instead since only one of the two will ever be true at one time. Also removed the return statementreturn nil
from each block since the return statement of the function is alreadyreturn nil
.