From 972732b6755f79eb16527b2be50e10db010fe835 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 22 Jul 2026 10:46:23 +0100 Subject: [PATCH] Pint --- app/Models/SnipeSCIMConfig.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }