mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup
This commit is contained in:
@@ -56,17 +56,18 @@ class IsDuplicateTransaction implements Rule
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function passes($attribute, $value)
|
||||
public function message()
|
||||
{
|
||||
$this->value = $value;
|
||||
return false;
|
||||
return $this->value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function message()
|
||||
public function passes($attribute, $value)
|
||||
{
|
||||
return $this->value;
|
||||
$this->value = $value;
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user