Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
warrick committed Apr 30, 2019
2 parents 4d54cd1 + 9544ba0 commit f6872f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Offer.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,11 @@ public function modelNumber(string $modelNumber): Offer
/**
* Set stock availabilities
*
* @param int|null $stockAvailability
* @param string|null $stockAvailability
* @param int|null $stockLevel
* @return Offer
*/
public function availability(int $stockAvailability = null, int $stockLevel = null)
public function availability(string $stockAvailability = null, int $stockLevel = null)
{
$this->attributes['StockAvailability'] = $stockAvailability;
$this->attributes['StockLevel'] = $stockLevel;
Expand Down

0 comments on commit f6872f6

Please sign in to comment.