Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down