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

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