mirror of
https://github.com/snipe/snipe-it.git
synced 2026-08-18 11:15:42 +00:00
Pint
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user