diff --git a/app/Models/SnipeSCIMConfig.php b/app/Models/SnipeSCIMConfig.php index 3af40a0a75..1acaff4987 100644 --- a/app/Models/SnipeSCIMConfig.php +++ b/app/Models/SnipeSCIMConfig.php @@ -75,7 +75,7 @@ class SnipeRootComplex extends Complex // the misconfiguration is on their end, versus the previous 500, // which made it look like it was on our end. if ($path->getAttributePath() === null) { - throw new SCIMException('Cannot route SCIM key with no attribute path: ' . $key, 400); + throw new SCIMException('Cannot route SCIM key with no attribute path: '.$key, 400); } $attributeNames = $path->getAttributePathAttributes(); @@ -147,7 +147,7 @@ class SnipeRootComplex extends Complex // wild for misconfigured SCIM clients sending // filter-key bodies to PUT /Users/{id}. if ($path->getAttributePath() === null) { - throw new SCIMException('Cannot route SCIM key with no attribute path: ' . $key, 400); + throw new SCIMException('Cannot route SCIM key with no attribute path: '.$key, 400); } $attributeNames = $path->getAttributePathAttributes(); @@ -404,7 +404,7 @@ class SnipeSCIMConfig { protected function doRead(&$object, $attributes = []) { - if (!$object->email) { + if (! $object->email) { return null; }