diff --git a/InventoryDistanceBasedSourceSelectionAdminUi/Model/Config/Source/DistanceProvider.php b/InventoryDistanceBasedSourceSelectionAdminUi/Model/Config/Source/DistanceProvider.php index 2e96eb44a935..e21a0ae58a57 100644 --- a/InventoryDistanceBasedSourceSelectionAdminUi/Model/Config/Source/DistanceProvider.php +++ b/InventoryDistanceBasedSourceSelectionAdminUi/Model/Config/Source/DistanceProvider.php @@ -7,9 +7,9 @@ namespace Magento\InventoryDistanceBasedSourceSelectionAdminUi\Model\Config\Source; -use Magento\Framework\Option\ArrayInterface; +use Magento\Framework\Data\OptionSourceInterface; -class DistanceProvider implements ArrayInterface +class DistanceProvider implements OptionSourceInterface { /** * @var array|string[] diff --git a/InventoryDistanceBasedSourceSelectionAdminUi/Model/Config/Source/GoogleDistanceProvider/Mode.php b/InventoryDistanceBasedSourceSelectionAdminUi/Model/Config/Source/GoogleDistanceProvider/Mode.php index f56ae3cf2239..7e3a564fa8d6 100644 --- a/InventoryDistanceBasedSourceSelectionAdminUi/Model/Config/Source/GoogleDistanceProvider/Mode.php +++ b/InventoryDistanceBasedSourceSelectionAdminUi/Model/Config/Source/GoogleDistanceProvider/Mode.php @@ -7,9 +7,9 @@ namespace Magento\InventoryDistanceBasedSourceSelectionAdminUi\Model\Config\Source\GoogleDistanceProvider; -use Magento\Framework\Option\ArrayInterface; +use Magento\Framework\Data\OptionSourceInterface; -class Mode implements ArrayInterface +class Mode implements OptionSourceInterface { private const MODE_DRIVING = 'driving'; private const MODE_WALKING = 'walking'; diff --git a/InventoryDistanceBasedSourceSelectionAdminUi/Model/Config/Source/GoogleDistanceProvider/Value.php b/InventoryDistanceBasedSourceSelectionAdminUi/Model/Config/Source/GoogleDistanceProvider/Value.php index 692fc2add084..1923863dcbfa 100644 --- a/InventoryDistanceBasedSourceSelectionAdminUi/Model/Config/Source/GoogleDistanceProvider/Value.php +++ b/InventoryDistanceBasedSourceSelectionAdminUi/Model/Config/Source/GoogleDistanceProvider/Value.php @@ -7,9 +7,9 @@ namespace Magento\InventoryDistanceBasedSourceSelectionAdminUi\Model\Config\Source\GoogleDistanceProvider; -use Magento\Framework\Option\ArrayInterface; +use Magento\Framework\Data\OptionSourceInterface; -class Value implements ArrayInterface +class Value implements OptionSourceInterface { private const MODE_DISTANCE = 'distance'; private const MODE_TIME = 'time';