Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeholder committed Dec 11, 2024
1 parent eb661cd commit 0ef668b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/models/InventoryItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use craft\commerce\base\Model;
use craft\commerce\base\Purchasable;
use craft\helpers\UrlHelper;

/**
* Inventory Item model
Expand Down
1 change: 0 additions & 1 deletion src/models/InventoryLevel.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ public function getInventoryLocation(): InventoryLocation
*/
public function getPurchasable(null|string|int $siteId = null): Purchasable

Check failure on line 134 in src/models/InventoryLevel.php

View workflow job for this annotation

GitHub Actions / ci / Code Quality / PHPStan / PHPStan

PHPDoc tag @var above a method has no effect.
{

return $this->getInventoryItem()->getPurchasable($siteId);
}
}

0 comments on commit 0ef668b

Please sign in to comment.