From 2a9bb7763959e1a5f9e41ea6f9248e49fb391fdf Mon Sep 17 00:00:00 2001 From: Nikola Radovic Date: Wed, 15 Aug 2018 17:57:27 +0200 Subject: [PATCH 1/2] PHP7 compatible --- src/Bloodhound.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bloodhound.php b/src/Bloodhound.php index 7012a1d..1952b7d 100644 --- a/src/Bloodhound.php +++ b/src/Bloodhound.php @@ -7,8 +7,8 @@ namespace dosamigos\typeahead; +use yii\base\BaseObject; use yii\base\InvalidConfigException; -use yii\base\Object; use yii\helpers\Json; use yii\web\JsExpression; @@ -20,7 +20,7 @@ * @link http://www.2amigos.us/ * @package dosamigos\typeahead */ -class Bloodhound extends Object +class Bloodhound extends BaseObject { /** * @var string the engine js name From 45fbfdbbdffe5a8bf5b013ee0f48458becb5d22e Mon Sep 17 00:00:00 2001 From: Nikola Radovic Date: Wed, 15 Aug 2018 17:59:34 +0200 Subject: [PATCH 2/2] framework updated --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7275503..af7f0a1 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ } ], "require": { - "yiisoft/yii2": "~2.0.0", + "yiisoft/yii2": "~2.0.13", "yiisoft/yii2-bootstrap": "~2.0.0", "bower-asset/typeahead.js": "~0.11.0" },