mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 09:51:40 +00:00
Code cleanup.
This commit is contained in:
@@ -370,7 +370,7 @@ class ProfileControllerTest extends TestCase
|
||||
{
|
||||
$token = '';
|
||||
$currentToken = Preference::where('user_id', $this->user()->id)->where('name', 'access_token')->first();
|
||||
if (!is_null($currentToken)) {
|
||||
if (null !== $currentToken) {
|
||||
$token = $currentToken->data;
|
||||
}
|
||||
$this->be($this->user());
|
||||
|
Reference in New Issue
Block a user