Skip to content

Remove deprecated framework interfaces #3294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: future-develop
Choose a base branch
from
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