apply Scrutinizer recommendation

This commit is contained in:
El RIDO 2024-05-01 21:07:24 +02:00
parent 58a235e068
commit 041068b590
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -98,7 +98,7 @@ class Paste extends AbstractModel
throw new Exception('You are unlucky. Try again.', 75); throw new Exception('You are unlucky. Try again.', 75);
} }
$this->_data['meta']['salt'] = ServerSalt::generate(); $this->_data['meta']['salt'] = ServerSalt::generate();
// store paste // store paste
if ( if (