Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct type hinting for @return true -> @return bool #28

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions src/FBAInboundServiceMWS/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ private function _isComplexType($fieldType)
* Checks whether passed variable is an associative array
*
* @param mixed $var
* @return TRUE if passed variable is an associative array
* @return bool True if passed variable is an associative array
*/
private function _isAssociativeArray($var)
{
Expand All @@ -415,7 +415,7 @@ private function _isAssociativeArray($var)
* Checks whether passed variable is DOMElement
*
* @param mixed $var
* @return TRUE if passed variable is DOMElement
* @return bool True if passed variable is DOMElement
*/
private function _isDOMElement($var)
{
Expand All @@ -426,7 +426,7 @@ private function _isDOMElement($var)
* Checks whether passed variable is numeric array
*
* @param mixed $var
* @return TRUE if passed variable is an numeric array
* @return bool True if passed variable is an numeric array
*/
protected function _isNumericArray($var)
{
Expand Down
8 changes: 4 additions & 4 deletions src/FBAInboundServiceMWS/Model/ASINPrepInstructions.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function setASIN($value)
/**
* Check to see if ASIN is set.
*
* @return true if ASIN is set.
* @return bool True if ASIN is set.
*/
public function isSetASIN()
{
Expand Down Expand Up @@ -118,7 +118,7 @@ public function setBarcodeInstruction($value)
/**
* Check to see if BarcodeInstruction is set.
*
* @return true if BarcodeInstruction is set.
* @return bool True if BarcodeInstruction is set.
*/
public function isSetBarcodeInstruction()
{
Expand Down Expand Up @@ -164,7 +164,7 @@ public function setPrepGuidance($value)
/**
* Check to see if PrepGuidance is set.
*
* @return true if PrepGuidance is set.
* @return bool True if PrepGuidance is set.
*/
public function isSetPrepGuidance()
{
Expand Down Expand Up @@ -210,7 +210,7 @@ public function setPrepInstructionList($value)
/**
* Check to see if PrepInstructionList is set.
*
* @return true if PrepInstructionList is set.
* @return bool True if PrepInstructionList is set.
*/
public function isSetPrepInstructionList()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function unsetASINPrepInstructions()
/**
* Check to see if ASINPrepInstructions is set.
*
* @return true if ASINPrepInstructions is set.
* @return bool True if ASINPrepInstructions is set.
*/
public function isSetASINPrepInstructions()
{
Expand Down
16 changes: 8 additions & 8 deletions src/FBAInboundServiceMWS/Model/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function setName($value)
/**
* Check to see if Name is set.
*
* @return true if Name is set.
* @return bool True if Name is set.
*/
public function isSetName()
{
Expand Down Expand Up @@ -123,7 +123,7 @@ public function setAddressLine1($value)
/**
* Check to see if AddressLine1 is set.
*
* @return true if AddressLine1 is set.
* @return bool True if AddressLine1 is set.
*/
public function isSetAddressLine1()
{
Expand Down Expand Up @@ -169,7 +169,7 @@ public function setAddressLine2($value)
/**
* Check to see if AddressLine2 is set.
*
* @return true if AddressLine2 is set.
* @return bool True if AddressLine2 is set.
*/
public function isSetAddressLine2()
{
Expand Down Expand Up @@ -215,7 +215,7 @@ public function setDistrictOrCounty($value)
/**
* Check to see if DistrictOrCounty is set.
*
* @return true if DistrictOrCounty is set.
* @return bool True if DistrictOrCounty is set.
*/
public function isSetDistrictOrCounty()
{
Expand Down Expand Up @@ -261,7 +261,7 @@ public function setCity($value)
/**
* Check to see if City is set.
*
* @return true if City is set.
* @return bool True if City is set.
*/
public function isSetCity()
{
Expand Down Expand Up @@ -307,7 +307,7 @@ public function setStateOrProvinceCode($value)
/**
* Check to see if StateOrProvinceCode is set.
*
* @return true if StateOrProvinceCode is set.
* @return bool True if StateOrProvinceCode is set.
*/
public function isSetStateOrProvinceCode()
{
Expand Down Expand Up @@ -353,7 +353,7 @@ public function setCountryCode($value)
/**
* Check to see if CountryCode is set.
*
* @return true if CountryCode is set.
* @return bool True if CountryCode is set.
*/
public function isSetCountryCode()
{
Expand Down Expand Up @@ -399,7 +399,7 @@ public function setPostalCode($value)
/**
* Check to see if PostalCode is set.
*
* @return true if PostalCode is set.
* @return bool True if PostalCode is set.
*/
public function isSetPostalCode()
{
Expand Down
4 changes: 2 additions & 2 deletions src/FBAInboundServiceMWS/Model/Amount.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function setCurrencyCode($value)
/**
* Check to see if CurrencyCode is set.
*
* @return true if CurrencyCode is set.
* @return bool True if CurrencyCode is set.
*/
public function isSetCurrencyCode()
{
Expand Down Expand Up @@ -111,7 +111,7 @@ public function setValue($value)
/**
* Check to see if Value is set.
*
* @return true if Value is set.
* @return bool True if Value is set.
*/
public function isSetValue()
{
Expand Down
2 changes: 1 addition & 1 deletion src/FBAInboundServiceMWS/Model/AsinList.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function unsetId()
/**
* Check to see if Id is set.
*
* @return true if Id is set.
* @return bool True if Id is set.
*/
public function isSetId()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function setSellerId($value)
/**
* Check to see if SellerId is set.
*
* @return true if SellerId is set.
* @return bool True if SellerId is set.
*/
public function isSetSellerId()
{
Expand Down Expand Up @@ -113,7 +113,7 @@ public function setMWSAuthToken($value)
/**
* Check to see if MWSAuthToken is set.
*
* @return true if MWSAuthToken is set.
* @return bool True if MWSAuthToken is set.
*/
public function isSetMWSAuthToken()
{
Expand Down Expand Up @@ -159,7 +159,7 @@ public function setShipmentId($value)
/**
* Check to see if ShipmentId is set.
*
* @return true if ShipmentId is set.
* @return bool True if ShipmentId is set.
*/
public function isSetShipmentId()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function setConfirmTransportRequestResult($value)
/**
* Check to see if ConfirmTransportRequestResult is set.
*
* @return true if ConfirmTransportRequestResult is set.
* @return bool True if ConfirmTransportRequestResult is set.
*/
public function isSetConfirmTransportRequestResult()
{
Expand Down Expand Up @@ -122,7 +122,7 @@ public function setResponseMetadata($value)
/**
* Check to see if ResponseMetadata is set.
*
* @return true if ResponseMetadata is set.
* @return bool True if ResponseMetadata is set.
*/
public function isSetResponseMetadata()
{
Expand Down Expand Up @@ -168,7 +168,7 @@ public function setResponseHeaderMetadata($value)
/**
* Check to see if ResponseHeaderMetadata is set.
*
* @return true if ResponseHeaderMetadata is set.
* @return bool True if ResponseHeaderMetadata is set.
*/
public function isSetResponseHeaderMetadata()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function setTransportResult($value)
/**
* Check to see if TransportResult is set.
*
* @return true if TransportResult is set.
* @return bool True if TransportResult is set.
*/
public function isSetTransportResult()
{
Expand Down
8 changes: 4 additions & 4 deletions src/FBAInboundServiceMWS/Model/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function setName($value)
/**
* Check to see if Name is set.
*
* @return true if Name is set.
* @return bool True if Name is set.
*/
public function isSetName()
{
Expand Down Expand Up @@ -115,7 +115,7 @@ public function setPhone($value)
/**
* Check to see if Phone is set.
*
* @return true if Phone is set.
* @return bool True if Phone is set.
*/
public function isSetPhone()
{
Expand Down Expand Up @@ -161,7 +161,7 @@ public function setEmail($value)
/**
* Check to see if Email is set.
*
* @return true if Email is set.
* @return bool True if Email is set.
*/
public function isSetEmail()
{
Expand Down Expand Up @@ -207,7 +207,7 @@ public function setFax($value)
/**
* Check to see if Fax is set.
*
* @return true if Fax is set.
* @return bool True if Fax is set.
*/
public function isSetFax()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function setSellerId($value)
/**
* Check to see if SellerId is set.
*
* @return true if SellerId is set.
* @return bool True if SellerId is set.
*/
public function isSetSellerId()
{
Expand Down Expand Up @@ -124,7 +124,7 @@ public function setMWSAuthToken($value)
/**
* Check to see if MWSAuthToken is set.
*
* @return true if MWSAuthToken is set.
* @return bool True if MWSAuthToken is set.
*/
public function isSetMWSAuthToken()
{
Expand Down Expand Up @@ -170,7 +170,7 @@ public function setMarketplace($value)
/**
* Check to see if Marketplace is set.
*
* @return true if Marketplace is set.
* @return bool True if Marketplace is set.
*/
public function isSetMarketplace()
{
Expand Down Expand Up @@ -216,7 +216,7 @@ public function setShipFromAddress($value)
/**
* Check to see if ShipFromAddress is set.
*
* @return true if ShipFromAddress is set.
* @return bool True if ShipFromAddress is set.
*/
public function isSetShipFromAddress()
{
Expand Down Expand Up @@ -262,7 +262,7 @@ public function setLabelPrepPreference($value)
/**
* Check to see if LabelPrepPreference is set.
*
* @return true if LabelPrepPreference is set.
* @return bool True if LabelPrepPreference is set.
*/
public function isSetLabelPrepPreference()
{
Expand Down Expand Up @@ -308,7 +308,7 @@ public function setShipToCountryCode($value)
/**
* Check to see if ShipToCountryCode is set.
*
* @return true if ShipToCountryCode is set.
* @return bool True if ShipToCountryCode is set.
*/
public function isSetShipToCountryCode()
{
Expand Down Expand Up @@ -354,7 +354,7 @@ public function setInboundShipmentPlanRequestItems($value)
/**
* Check to see if InboundShipmentPlanRequestItems is set.
*
* @return true if InboundShipmentPlanRequestItems is set.
* @return bool True if InboundShipmentPlanRequestItems is set.
*/
public function isSetInboundShipmentPlanRequestItems()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function setCreateInboundShipmentPlanResult($value)
/**
* Check to see if CreateInboundShipmentPlanResult is set.
*
* @return true if CreateInboundShipmentPlanResult is set.
* @return bool True if CreateInboundShipmentPlanResult is set.
*/
public function isSetCreateInboundShipmentPlanResult()
{
Expand Down Expand Up @@ -122,7 +122,7 @@ public function setResponseMetadata($value)
/**
* Check to see if ResponseMetadata is set.
*
* @return true if ResponseMetadata is set.
* @return bool True if ResponseMetadata is set.
*/
public function isSetResponseMetadata()
{
Expand Down Expand Up @@ -168,7 +168,7 @@ public function setResponseHeaderMetadata($value)
/**
* Check to see if ResponseHeaderMetadata is set.
*
* @return true if ResponseHeaderMetadata is set.
* @return bool True if ResponseHeaderMetadata is set.
*/
public function isSetResponseHeaderMetadata()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function setInboundShipmentPlans($value)
/**
* Check to see if InboundShipmentPlans is set.
*
* @return true if InboundShipmentPlans is set.
* @return bool True if InboundShipmentPlans is set.
*/
public function isSetInboundShipmentPlans()
{
Expand Down
Loading