Skip to content

Commit

Permalink
Merge pull request #123 from rossriley/fix/implement-new-interfaces
Browse files Browse the repository at this point in the history
[Bolt 3.3 Compatibility] Implement the new Field Type Interface
  • Loading branch information
SahAssar authored Jul 21, 2017
2 parents db34537 + 518acd6 commit ffb2535
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Field/LocaleDataField.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace Bolt\Extension\Animal\Translate\Field;

use Bolt\Storage\Field\FieldInterface;
use Bolt\Storage\Field\Type\FieldTypeBase;

class LocaleDataField implements FieldInterface
class LocaleDataField extends FieldTypeBase implements FieldInterface
{
public function getName()
{
Expand Down
3 changes: 2 additions & 1 deletion src/Field/LocaleField.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace Bolt\Extension\Animal\Translate\Field;

use Bolt\Storage\Field\FieldInterface;
use Bolt\Storage\Field\Type\FieldTypeBase;

class LocaleField implements FieldInterface
class LocaleField extends FieldTypeBase implements FieldInterface
{
public function getName()
{
Expand Down

0 comments on commit ffb2535

Please sign in to comment.