3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-08-18 11:15:42 +00:00
This commit is contained in:
snipe
2026-07-22 10:46:23 +01:00
parent 2eed9803cb
commit 972732b675

View File

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