Clean up some code.

This commit is contained in:
James Cole
2016-03-29 16:13:36 +02:00
parent ab4616a3ad
commit 6fdfec3967
3 changed files with 2 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ class FireflyValidator extends Validator
*
* @return bool
*/
public function validate2faCode($attribute, $value, $parameters): bool
public function validate2faCode($attribute, $value): bool
{
if (!is_string($value) || is_null($value) || strlen($value) <> 6) {
return false;