File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 4747 "has_storefront" : true ,
4848 "eligible_for_card_reader_giveaway" : false ,
4949 "finances" : true ,
50- "setup_required" : false ,
51- "force_ssl" : false
50+ "setup_required" : false
5251 }
53- }
52+ }
Original file line number Diff line number Diff line change 88
99abstract class AbstractApi implements ApiInterface
1010{
11- const DEFAULT_API_VERSION = '2021-04 ' ;
11+ const DEFAULT_API_VERSION = '2021-07 ' ;
1212
1313 /**
1414 * Domain of the Shopify store
@@ -43,7 +43,7 @@ abstract class AbstractApi implements ApiInterface
4343 *
4444 * @param array $options
4545 */
46- public function __construct (array $ options = array () )
46+ public function __construct (array $ options = [] )
4747 {
4848 foreach ($ options as $ key => $ value ) {
4949 if (!property_exists ($ this , $ key )) {
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ class ShopFields extends AbstractObjectEnum
3737 const PROVINCE_CODE = 'province_code ' ;
3838 const SHOP_OWNER = 'shop_owner ' ;
3939 const SOURCE = 'source ' ;
40- const FORCE_SSL = 'force_ssl ' ;
4140 const TAX_SHIPPING = 'tax_shipping ' ;
4241 const TAXES_INCLUDED = 'taxes_included ' ;
4342 const COUNTY_TAXES = 'county_taxes ' ;
@@ -49,7 +48,7 @@ class ShopFields extends AbstractObjectEnum
4948
5049 public function getFieldTypes ()
5150 {
52- return array (
51+ return [
5352 'address1 ' => 'string ' ,
5453 'address2 ' => 'string ' ,
5554 'city ' => 'string ' ,
@@ -83,7 +82,6 @@ public function getFieldTypes()
8382 'province_code ' => 'string ' ,
8483 'shop_owner ' => 'string ' ,
8584 'source ' => 'string ' ,
86- 'force_ssl ' => 'boolean ' ,
8785 'tax_shipping ' => 'boolean ' ,
8886 'taxes_included ' => 'boolean ' ,
8987 'county_taxes ' => 'string ' ,
@@ -92,6 +90,6 @@ public function getFieldTypes()
9290 'zip ' => 'string ' ,
9391 'has_storefront ' => 'boolean ' ,
9492 'setup_required ' => 'boolean '
95- ) ;
93+ ] ;
9694 }
9795}
You can’t perform that action at this time.
0 commit comments