return types

This commit is contained in:
spencerrlongg 2023-11-30 12:06:58 -06:00
parent 135b7bde7d
commit df954a3af2

View file

@ -466,19 +466,18 @@ class Asset extends Depreciable
*
* @author [A. Gianotto] [<snipe@snipe.net>]
* @since [v4.0]
* @return bool
*/
public function checkedOutToUser()
public function checkedOutToUser(): bool
{
return $this->assignedType() === self::USER;
}
public function checkedOutToLocation()
public function checkedOutToLocation(): bool
{
return $this->assignedType() === self::LOCATION;
}
public function checkedOutToAsset()
public function checkedOutToAsset(): bool
{
return $this->assignedType() === self::ASSET;
}