Skip to content

A free open source IT asset/license management system

return types

spencerrlonggdf954a3af2dd
diff --git a/app/Models/Asset.php b/app/Models/Asset.php
index 8505c12cfe..5c5d861ed3 100644
--- a/app/Models/Asset.php
+++ b/app/Models/Asset.php
@@ -466,19 +466,18 @@ class Asset extends Depreciable
*
* @author [A. Gianotto] [<[email protected]>]
* @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;
}