mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-11 23:28:54 +00:00
Remove unnecessary backslash
This commit is contained in:
@@ -97,7 +97,7 @@ class FakePrerequisites implements PrerequisitesInterface
|
||||
{
|
||||
$apiKey = $data['api_key'] ?? '';
|
||||
$messageBag = new MessageBag();
|
||||
if (32 !== \strlen($apiKey)) {
|
||||
if (32 !== strlen($apiKey)) {
|
||||
$messageBag->add('api_key', 'API key must be 32 chars.');
|
||||
|
||||
return $messageBag;
|
||||
@@ -122,7 +122,7 @@ class FakePrerequisites implements PrerequisitesInterface
|
||||
if (null === $apiKey->data) {
|
||||
return false;
|
||||
}
|
||||
if (32 === \strlen((string)$apiKey->data)) {
|
||||
if (32 === strlen((string)$apiKey->data)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user