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:
@@ -50,7 +50,7 @@ final class NotesContain extends AbstractTrigger implements TriggerInterface
|
||||
public static function willMatchEverything($value = null)
|
||||
{
|
||||
if (null !== $value) {
|
||||
$res = '' === strval($value);
|
||||
$res = '' === (string)$value;
|
||||
if (true === $res) {
|
||||
Log::error(sprintf('Cannot use %s with "" as a value.', self::class));
|
||||
}
|
||||
|
Reference in New Issue
Block a user