Remove unnecessary backslash

This commit is contained in:
James Cole
2019-06-07 17:58:11 +02:00
parent e4a9abc315
commit fba3cb6d90
20 changed files with 32 additions and 32 deletions

View File

@@ -386,7 +386,7 @@ class ImportJobRepository implements ImportJobRepositoryInterface
$attachment->md5 = md5($content);
$attachment->filename = $name;
$attachment->mime = 'plain/txt';
$attachment->size = \strlen($content);
$attachment->size = strlen($content);
$attachment->uploaded = false;
$attachment->save();
$encrypted = Crypt::encrypt($content);

View File

@@ -325,7 +325,7 @@ class RuleRepository implements RuleRepositoryInterface
$rule->strict = $data['strict'];
$rule->stop_processing = $data['stop_processing'];
$rule->title = $data['title'];
$rule->description = \strlen($data['description']) > 0 ? $data['description'] : null;
$rule->description = strlen($data['description']) > 0 ? $data['description'] : null;
$rule->save();