@@ -10,21 +10,20 @@ |
||
10 | 10 | |
11 | 11 | use Craft; |
12 | 12 | use craft\base\Element; |
13 | +use craft\elements\User; |
|
13 | 14 | use craft\elements\actions\Edit as EditAction; |
14 | 15 | use craft\elements\actions\SetStatus; |
15 | 16 | use craft\elements\db\ElementQueryInterface; |
16 | -use craft\elements\User; |
|
17 | 17 | use craft\helpers\DateTimeHelper; |
18 | 18 | use craft\helpers\Json; |
19 | 19 | use craft\helpers\StringHelper; |
20 | 20 | use craft\helpers\UrlHelper as UrlHelper; |
21 | 21 | use flipbox\craft\ember\elements\ExplicitElementTrait; |
22 | 22 | use flipbox\craft\ember\helpers\ModelHelper; |
23 | -use flipbox\organizations\models\DateJoinedAttributeTrait; |
|
24 | 23 | use flipbox\organizations\Organizations as OrganizationPlugin; |
24 | +use flipbox\organizations\models\DateJoinedAttributeTrait; |
|
25 | 25 | use flipbox\organizations\queries\OrganizationQuery; |
26 | 26 | use flipbox\organizations\records\Organization as OrganizationRecord; |
27 | -use flipbox\organizations\records\OrganizationType; |
|
28 | 27 | use flipbox\organizations\records\OrganizationType as TypeModel; |
29 | 28 | use yii\base\ErrorException as Exception; |
30 | 29 |
@@ -20,7 +20,7 @@ |
||
20 | 20 | trait DateJoinedMutatorTrait |
21 | 21 | { |
22 | 22 | /** |
23 | - * @param $value |
|
23 | + * @param DateTime $value |
|
24 | 24 | * @return $this |
25 | 25 | */ |
26 | 26 | public function setDateJoined($value) |
@@ -8,8 +8,8 @@ |
||
8 | 8 | |
9 | 9 | namespace flipbox\organizations\objects; |
10 | 10 | |
11 | -use craft\helpers\DateTimeHelper; |
|
12 | 11 | use DateTime; |
12 | +use craft\helpers\DateTimeHelper; |
|
13 | 13 | |
14 | 14 | /** |
15 | 15 | * @property DateTime|null $dateJoined |
@@ -10,8 +10,8 @@ |
||
10 | 10 | |
11 | 11 | use Craft; |
12 | 12 | use craft\db\Query; |
13 | -use craft\elements\db\UserQuery; |
|
14 | 13 | use craft\elements\User; |
14 | +use craft\elements\db\UserQuery; |
|
15 | 15 | use craft\helpers\ArrayHelper; |
16 | 16 | use flipbox\craft\ember\helpers\QueryHelper; |
17 | 17 | use flipbox\organizations\records\UserAssociation; |