diff --git a/app/Models/Category.php b/app/Models/Category.php index 836f28e8e..b00e5a7bf 100755 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -179,7 +179,8 @@ class Category extends SnipeModel return $this->consumables()->count(); case 'license': return $this->licenses()->count(); - default: 0; + default: + return 0; } }