@@ -26,7 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * prefixSessionData. |
| 28 | 28 | * |
| 29 | - * @return callable |
|
| 29 | + * @return \Closure |
|
| 30 | 30 | */ |
| 31 | 31 | public static function prefixSessionData() |
| 32 | 32 | { |
@@ -10,8 +10,8 @@ |
||
| 10 | 10 | |
| 11 | 11 | use Craft; |
| 12 | 12 | use flipbox\ember\models\Model; |
| 13 | -use yii\db\ActiveRecord as Record; |
|
| 14 | 13 | use yii\base\ModelEvent; |
| 14 | +use yii\db\ActiveRecord as Record; |
|
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * @author Flipbox Factory <[email protected]> |
@@ -10,8 +10,8 @@ |
||
| 10 | 10 | |
| 11 | 11 | use craft\helpers\ArrayHelper; |
| 12 | 12 | use craft\helpers\Json as JsonHelper; |
| 13 | -use yii\base\InvalidConfigException; |
|
| 14 | 13 | use yii\base\BaseObject; |
| 14 | +use yii\base\InvalidConfigException; |
|
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * @author Flipbox Factory <[email protected]> |
@@ -8,15 +8,14 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace flipbox\ember\services\traits; |
| 10 | 10 | |
| 11 | -use flipbox\ember\exceptions\RecordNotFoundException; |
|
| 12 | -use yii\db\ActiveRecord as Record; |
|
| 13 | -use craft\db\Query; |
|
| 14 | 11 | use craft\helpers\ArrayHelper; |
| 15 | 12 | use craft\helpers\Json as JsonHelper; |
| 16 | 13 | use flipbox\ember\exceptions\ObjectNotFoundException; |
| 14 | +use flipbox\ember\exceptions\RecordNotFoundException; |
|
| 17 | 15 | use flipbox\ember\helpers\ObjectHelper; |
| 18 | -use yii\base\InvalidConfigException; |
|
| 19 | 16 | use yii\base\BaseObject; |
| 17 | +use yii\base\InvalidConfigException; |
|
| 18 | +use yii\db\ActiveRecord as Record; |
|
| 20 | 19 | use yii\db\QueryInterface; |
| 21 | 20 | |
| 22 | 21 | /** |
@@ -8,8 +8,8 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace flipbox\ember\services\traits; |
| 10 | 10 | |
| 11 | -use yii\db\ActiveRecord as Record; |
|
| 12 | 11 | use flipbox\ember\interfaces\IdAttribute; |
| 12 | +use yii\db\ActiveRecord as Record; |
|
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * @author Flipbox Factory <[email protected]> |
@@ -9,8 +9,8 @@ |
||
| 9 | 9 | namespace flipbox\ember\services\traits; |
| 10 | 10 | |
| 11 | 11 | use flipbox\ember\interfaces\IdAttribute; |
| 12 | -use yii\db\ActiveRecord as Record; |
|
| 13 | 12 | use yii\base\BaseObject; |
| 13 | +use yii\db\ActiveRecord as Record; |
|
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | 16 | * @author Flipbox Factory <[email protected]> |