Skip to content

Commit 51ebce2

Browse files
Update ListResponse.php (limosa-io#85)
1 parent 95eae91 commit 51ebce2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/SCIM/ListResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function toJson($options = 0)
2929

3030
public function toSCIMArray()
3131
{
32-
return array_filter([
32+
return [
3333
'totalResults' => $this->totalResults,
3434
"itemsPerPage" => count($this->resourceObjects->toArray()),
3535

@@ -42,6 +42,6 @@ public function toSCIMArray()
4242
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
4343
],
4444
'Resources' => Helper::prepareReturn($this->resourceObjects, $this->resourceType, $this->attributes),
45-
]);
46-
}
45+
];
46+
}
4747
}

0 commit comments

Comments
 (0)