Code cleanup

This commit is contained in:
James Cole
2018-04-02 14:50:17 +02:00
parent 379b104778
commit fa7ab45a40
100 changed files with 440 additions and 517 deletions

View File

@@ -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));
}