@@ -881,7 +881,7 @@ public function isPriceInclTax($scopeId = null, $scope = null): bool
881
881
* @param string|null $scope
882
882
* @return bool
883
883
*/
884
- public function isServerTestModeEnabled (int $ scopeId = null , string $ scope = null ): bool
884
+ public function isServerTestModeEnabled (? int $ scopeId = null , ? string $ scope = null ): bool
885
885
{
886
886
return (bool )$ this ->getConfig (
887
887
self ::XML_PATH_FACEBOOK_CONVERSION_MANAGEMENT_ENABLE_SERVER_TEST ,
@@ -897,7 +897,7 @@ public function isServerTestModeEnabled(int $scopeId = null, string $scope = nul
897
897
* @param string|null $scope
898
898
* @return string|null
899
899
*/
900
- public function getServerTestCode (int $ scopeId = null , string $ scope = null ): ?string
900
+ public function getServerTestCode (? int $ scopeId = null , ? string $ scope = null ): ?string
901
901
{
902
902
return $ this ->getConfig (
903
903
self ::XML_PATH_FACEBOOK_CONVERSION_MANAGEMENT_SERVER_TEST_CODE ,
@@ -913,7 +913,7 @@ public function getServerTestCode(int $scopeId = null, string $scope = null): ?s
913
913
* @param string|null $scope
914
914
* @return mixed
915
915
*/
916
- public function getWeightUnit (int $ scopeId = null , string $ scope = null )
916
+ public function getWeightUnit (? int $ scopeId = null , ? string $ scope = null )
917
917
{
918
918
return $ this ->getConfig ('general/locale/weight_unit ' , $ scopeId , $ scope );
919
919
}
@@ -925,7 +925,7 @@ public function getWeightUnit(int $scopeId = null, string $scope = null)
925
925
* @param string|null $scope
926
926
* @return bool
927
927
*/
928
- public function isAdditionalAttributesSyncDisabled (int $ scopeId = null , string $ scope = null ): bool
928
+ public function isAdditionalAttributesSyncDisabled (? int $ scopeId = null , ? string $ scope = null ): bool
929
929
{
930
930
return (bool )$ this ->getConfig (
931
931
self ::XML_PATH_FACEBOOK_DISABLE_ADDITIONAL_ATTRIBUTES_SYNC ,
@@ -941,7 +941,7 @@ public function isAdditionalAttributesSyncDisabled(int $scopeId = null, string $
941
941
* @param string|null $scope
942
942
* @return bool
943
943
*/
944
- public function isUnsupportedProductsDisabled (int $ scopeId = null , string $ scope = null ): bool
944
+ public function isUnsupportedProductsDisabled (? int $ scopeId = null , ? string $ scope = null ): bool
945
945
{
946
946
return (bool )$ this ->getConfig (
947
947
self ::XML_PATH_FACEBOOK_BUSINESS_EXTENSION_DISABLE_UNSUPPORTED_PRODUCTS ,
@@ -958,7 +958,7 @@ public function isUnsupportedProductsDisabled(int $scopeId = null, string $scope
958
958
* @param string|null $scope
959
959
* @return int
960
960
*/
961
- public function getProductsFetchBatchSize (int $ default = 200 , int $ scopeId = null , string $ scope = null ): int
961
+ public function getProductsFetchBatchSize (int $ default = 200 , ? int $ scopeId = null , ? string $ scope = null ): int
962
962
{
963
963
$ batch_size = (int )$ this ->getConfig (
964
964
self ::XML_PATH_FACEBOOK_PRODUCTS_FETCH_BATCH_SIZE ,
@@ -978,7 +978,7 @@ public function getProductsFetchBatchSize(int $default = 200, int $scopeId = nul
978
978
* @param string|null $scope
979
979
* @return bool
980
980
*/
981
- public function isMemoryProfilingEnabled (int $ scopeId = null , string $ scope = null ): bool
981
+ public function isMemoryProfilingEnabled (? int $ scopeId = null , ? string $ scope = null ): bool
982
982
{
983
983
return (bool )$ this ->getConfig (
984
984
self ::XML_PATH_FACEBOOK_BUSINESS_EXTENSION_ENABLE_MEMORY_PROFILING ,
@@ -1042,7 +1042,7 @@ public function isFBEAdsInstalled($storeId = null)
1042
1042
* @param int|null $storeId
1043
1043
* @return bool
1044
1044
*/
1045
- public function isFBEShopInstalled (int $ storeId = null ): bool
1045
+ public function isFBEShopInstalled (? int $ storeId = null ): bool
1046
1046
{
1047
1047
return $ this ->isFeatureInstalled ('fb_shop ' , $ storeId ) ||
1048
1048
$ this ->isFeatureInstalled ('ig_shopping ' , $ storeId ) ||
@@ -1055,7 +1055,7 @@ public function isFBEShopInstalled(int $storeId = null): bool
1055
1055
* @param int|null $storeId
1056
1056
* @return bool
1057
1057
*/
1058
- public function isInstalledShopOnsiteEligible (int $ storeId = null ): bool
1058
+ public function isInstalledShopOnsiteEligible (? int $ storeId = null ): bool
1059
1059
{
1060
1060
return $ this ->getConfig (self ::XML_PATH_FACEBOOK_BUSINESS_EXTENSION_IS_ONSITE_ELIGIBLE , $ storeId );
1061
1061
}
0 commit comments