Skip to content

Commit

Permalink
Fix php 8.2 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
keithbrink committed Apr 18, 2024
1 parent 03055ac commit 1025552
Show file tree
Hide file tree
Showing 117 changed files with 117 additions and 117 deletions.
2 changes: 1 addition & 1 deletion src/Data/Base/TypedCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
class TypedCollection extends Collection
{
public const string ITEM_CLASS = 'defined_by_child_class';
public const ITEM_CLASS = 'defined_by_child_class';

public function __construct(
object|array ...$items,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class BrandRefinementListSchema extends TypedCollection
{
public const string ITEM_CLASS = BrandRefinementSchema::class;
public const ITEM_CLASS = BrandRefinementSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ClassificationRefinementListSchema extends TypedCollection
{
public const string ITEM_CLASS = ClassificationRefinementSchema::class;
public const ITEM_CLASS = ClassificationRefinementSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemClassificationSalesRankListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemClassificationSalesRankSchema::class;
public const ITEM_CLASS = ItemClassificationSalesRankSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemDimensionsByMarketplaceListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemDimensionsByMarketplaceSchema::class;
public const ITEM_CLASS = ItemDimensionsByMarketplaceSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemDisplayGroupSalesRankListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemDisplayGroupSalesRankSchema::class;
public const ITEM_CLASS = ItemDisplayGroupSalesRankSchema::class;
}
2 changes: 1 addition & 1 deletion src/Data/Schemas/CatalogItems/ItemIdentifierListSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemIdentifierListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemIdentifierSchema::class;
public const ITEM_CLASS = ItemIdentifierSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemIdentifiersByMarketplaceListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemIdentifiersByMarketplaceSchema::class;
public const ITEM_CLASS = ItemIdentifiersByMarketplaceSchema::class;
}
2 changes: 1 addition & 1 deletion src/Data/Schemas/CatalogItems/ItemImageListSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemImageListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemImageSchema::class;
public const ITEM_CLASS = ItemImageSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemImagesByMarketplaceListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemImagesByMarketplaceSchema::class;
public const ITEM_CLASS = ItemImagesByMarketplaceSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemProductTypeByMarketplaceListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemProductTypeByMarketplaceSchema::class;
public const ITEM_CLASS = ItemProductTypeByMarketplaceSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemRelationshipListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemRelationshipSchema::class;
public const ITEM_CLASS = ItemRelationshipSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemRelationshipsByMarketplaceListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemRelationshipsByMarketplaceSchema::class;
public const ITEM_CLASS = ItemRelationshipsByMarketplaceSchema::class;
}
2 changes: 1 addition & 1 deletion src/Data/Schemas/CatalogItems/ItemSalesRankListSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemSalesRankListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemSalesRankSchema::class;
public const ITEM_CLASS = ItemSalesRankSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemVariationsByMarketplaceListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemVariationsByMarketplaceSchema::class;
public const ITEM_CLASS = ItemVariationsByMarketplaceSchema::class;
}
2 changes: 1 addition & 1 deletion src/Data/Schemas/CatalogItems/v20201201/ItemListSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemSchema::class;
public const ITEM_CLASS = ItemSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemSalesRanksByMarketplaceListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemSalesRanksByMarketplaceSchema::class;
public const ITEM_CLASS = ItemSalesRanksByMarketplaceSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemSummaryByMarketplaceListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemSummaryByMarketplaceSchema::class;
public const ITEM_CLASS = ItemSummaryByMarketplaceSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemVendorDetailsByMarketplaceListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemVendorDetailsByMarketplaceSchema::class;
public const ITEM_CLASS = ItemVendorDetailsByMarketplaceSchema::class;
}
2 changes: 1 addition & 1 deletion src/Data/Schemas/CatalogItems/v20220401/ItemListSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemSchema::class;
public const ITEM_CLASS = ItemSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemSalesRanksByMarketplaceListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemSalesRanksByMarketplaceSchema::class;
public const ITEM_CLASS = ItemSalesRanksByMarketplaceSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemSummaryByMarketplaceListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemSummaryByMarketplaceSchema::class;
public const ITEM_CLASS = ItemSummaryByMarketplaceSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ItemVendorDetailsByMarketplaceListSchema extends TypedCollection
{
public const string ITEM_CLASS = ItemVendorDetailsByMarketplaceSchema::class;
public const ITEM_CLASS = ItemVendorDetailsByMarketplaceSchema::class;
}
2 changes: 1 addition & 1 deletion src/Data/Schemas/ErrorListSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ErrorListSchema extends TypedCollection
{
public const string ITEM_CLASS = ErrorSchema::class;
public const ITEM_CLASS = ErrorSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class InventorySummariesListSchema extends TypedCollection
{
public const string ITEM_CLASS = InventorySummarySchema::class;
public const ITEM_CLASS = InventorySummarySchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class ResearchingQuantityEntryListSchema extends TypedCollection
{
public const string ITEM_CLASS = ResearchingQuantityEntrySchema::class;
public const ITEM_CLASS = ResearchingQuantityEntrySchema::class;
}
2 changes: 1 addition & 1 deletion src/Data/Schemas/Feeds/FeedListSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class FeedListSchema extends TypedCollection
{
public const string ITEM_CLASS = FeedSchema::class;
public const ITEM_CLASS = FeedSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class AsinInboundGuidanceListSchema extends TypedCollection
{
public const string ITEM_CLASS = AsinInboundGuidanceSchema::class;
public const ITEM_CLASS = AsinInboundGuidanceSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class AsinPrepInstructionsListSchema extends TypedCollection
{
public const string ITEM_CLASS = AsinPrepInstructionsSchema::class;
public const ITEM_CLASS = AsinPrepInstructionsSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class AmazonPrepFeesDetailsListSchema extends TypedCollection
{
public const string ITEM_CLASS = AmazonPrepFeesDetailsSchema::class;
public const ITEM_CLASS = AmazonPrepFeesDetailsSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class InboundShipmentItemListSchema extends TypedCollection
{
public const string ITEM_CLASS = InboundShipmentItemSchema::class;
public const ITEM_CLASS = InboundShipmentItemSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class InboundShipmentListSchema extends TypedCollection
{
public const string ITEM_CLASS = InboundShipmentInfoSchema::class;
public const ITEM_CLASS = InboundShipmentInfoSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class InboundShipmentPlanItemListSchema extends TypedCollection
{
public const string ITEM_CLASS = InboundShipmentPlanItemSchema::class;
public const ITEM_CLASS = InboundShipmentPlanItemSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class InboundShipmentPlanListSchema extends TypedCollection
{
public const string ITEM_CLASS = InboundShipmentPlanSchema::class;
public const ITEM_CLASS = InboundShipmentPlanSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class InboundShipmentPlanRequestItemListSchema extends TypedCollection
{
public const string ITEM_CLASS = InboundShipmentPlanRequestItemSchema::class;
public const ITEM_CLASS = InboundShipmentPlanRequestItemSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class InvalidAsinListSchema extends TypedCollection
{
public const string ITEM_CLASS = InvalidAsinSchema::class;
public const ITEM_CLASS = InvalidAsinSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class InvalidSkuListSchema extends TypedCollection
{
public const string ITEM_CLASS = InvalidSkuSchema::class;
public const ITEM_CLASS = InvalidSkuSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class NonPartneredSmallParcelPackageInputListSchema extends TypedCollection
{
public const string ITEM_CLASS = NonPartneredSmallParcelPackageInputSchema::class;
public const ITEM_CLASS = NonPartneredSmallParcelPackageInputSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class NonPartneredSmallParcelPackageOutputListSchema extends TypedCollection
{
public const string ITEM_CLASS = NonPartneredSmallParcelPackageOutputSchema::class;
public const ITEM_CLASS = NonPartneredSmallParcelPackageOutputSchema::class;
}
2 changes: 1 addition & 1 deletion src/Data/Schemas/FulfillmentInbound/PalletListSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class PalletListSchema extends TypedCollection
{
public const string ITEM_CLASS = PalletSchema::class;
public const ITEM_CLASS = PalletSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class PartneredSmallParcelPackageInputListSchema extends TypedCollection
{
public const string ITEM_CLASS = PartneredSmallParcelPackageInputSchema::class;
public const ITEM_CLASS = PartneredSmallParcelPackageInputSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class PartneredSmallParcelPackageOutputListSchema extends TypedCollection
{
public const string ITEM_CLASS = PartneredSmallParcelPackageOutputSchema::class;
public const ITEM_CLASS = PartneredSmallParcelPackageOutputSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class PrepDetailsListSchema extends TypedCollection
{
public const string ITEM_CLASS = PrepDetailsSchema::class;
public const ITEM_CLASS = PrepDetailsSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class SkuInboundGuidanceListSchema extends TypedCollection
{
public const string ITEM_CLASS = SkuInboundGuidanceSchema::class;
public const ITEM_CLASS = SkuInboundGuidanceSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class SkuPrepInstructionsListSchema extends TypedCollection
{
public const string ITEM_CLASS = SkuPrepInstructionsSchema::class;
public const ITEM_CLASS = SkuPrepInstructionsSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class CreateFulfillmentOrderItemListSchema extends TypedCollection
{
public const string ITEM_CLASS = CreateFulfillmentOrderItemSchema::class;
public const ITEM_CLASS = CreateFulfillmentOrderItemSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class CreateReturnItemListSchema extends TypedCollection
{
public const string ITEM_CLASS = CreateReturnItemSchema::class;
public const ITEM_CLASS = CreateReturnItemSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class DeliveryWindowListSchema extends TypedCollection
{
public const string ITEM_CLASS = DeliveryWindowSchema::class;
public const ITEM_CLASS = DeliveryWindowSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class FeatureSettingListSchema extends TypedCollection
{
public const string ITEM_CLASS = FeatureSettingShema::class;
public const ITEM_CLASS = FeatureSettingShema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class FeatureSkuListSchema extends TypedCollection
{
public const string ITEM_CLASS = FeatureSkuSchema::class;
public const ITEM_CLASS = FeatureSkuSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class FeaturesListSchema extends TypedCollection
{
public const string ITEM_CLASS = FeaturesSchema::class;
public const ITEM_CLASS = FeaturesSchema::class;
}
2 changes: 1 addition & 1 deletion src/Data/Schemas/FulfillmentOutbound/FeeListSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class FeeListSchema extends TypedCollection
{
public const string ITEM_CLASS = FeeSchema::class;
public const ITEM_CLASS = FeeSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class FulfillmentOrderItemListSchema extends TypedCollection
{
public const string ITEM_CLASS = FulfillmentOrderItemSchema::class;
public const ITEM_CLASS = FulfillmentOrderItemSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class FulfillmentOrderListSchema extends TypedCollection
{
public const string ITEM_CLASS = FulfillmentOrderSchema::class;
public const ITEM_CLASS = FulfillmentOrderSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class FulfillmentPreviewListSchema extends TypedCollection
{
public const string ITEM_CLASS = FulfillmentPreviewSchema::class;
public const ITEM_CLASS = FulfillmentPreviewSchema::class;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
*/
class FulfillmentPreviewShipmentListSchema extends TypedCollection
{
public const string ITEM_CLASS = FulfillmentPreviewShipmentSchema::class;
public const ITEM_CLASS = FulfillmentPreviewShipmentSchema::class;
}
Loading

0 comments on commit 1025552

Please sign in to comment.