mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Removed int
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
2f0c74aef0
commit
b5b60f22d5
|
@ -338,7 +338,7 @@ class Accessory extends SnipeModel
|
|||
*/
|
||||
public function numCheckedOut()
|
||||
{
|
||||
return (int) $this->users_count ?? $this->users->count();
|
||||
return $this->users_count ?? $this->users->count();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue