Completed
Push — develop ( ac15a9...6f46d9 )
by Nate
03:01
created
src/behaviors/OrganizationsAssociatedToUserBehavior.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,16 +3,15 @@
 block discarded – undo
3 3
 namespace flipbox\organizations\behaviors;
4 4
 
5 5
 use Craft;
6
+use Tightenco\Collect\Support\Collection;
6 7
 use craft\elements\User;
7 8
 use craft\events\ModelEvent;
8 9
 use flipbox\craft\ember\helpers\QueryHelper;
10
+use flipbox\organizations\Organizations as OrganizationPlugin;
9 11
 use flipbox\organizations\elements\Organization;
10 12
 use flipbox\organizations\managers\OrganizationsToUserAssociatedManager;
11
-use flipbox\organizations\Organizations as OrganizationPlugin;
12 13
 use flipbox\organizations\queries\OrganizationQuery;
13
-use flipbox\organizations\records\UserAssociation;
14 14
 use flipbox\organizations\validators\OrganizationsValidator;
15
-use Tightenco\Collect\Support\Collection;
16 15
 use yii\base\Behavior;
17 16
 use yii\base\Event;
18 17
 use yii\base\Exception;
Please login to merge, or discard this patch.
src/elements/TypesAttributeTrait.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,12 +9,11 @@
 block discarded – undo
9 9
 namespace flipbox\organizations\elements;
10 10
 
11 11
 use Craft;
12
+use Tightenco\Collect\Support\Collection;
12 13
 use flipbox\craft\ember\helpers\QueryHelper;
13 14
 use flipbox\organizations\managers\OrganizationTypeAssociationManager;
14 15
 use flipbox\organizations\queries\OrganizationTypeQuery;
15 16
 use flipbox\organizations\records\OrganizationType;
16
-use flipbox\organizations\records\OrganizationTypeAssociation;
17
-use Tightenco\Collect\Support\Collection;
18 17
 
19 18
 /**
20 19
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/elements/UsersAttributeTrait.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,14 +9,14 @@
 block discarded – undo
9 9
 namespace flipbox\organizations\elements;
10 10
 
11 11
 use Craft;
12
+use Tightenco\Collect\Support\Collection;
12 13
 use craft\db\Query;
13
-use craft\elements\db\UserQuery;
14 14
 use craft\elements\User;
15
+use craft\elements\db\UserQuery;
15 16
 use craft\helpers\ArrayHelper;
16 17
 use flipbox\craft\ember\helpers\QueryHelper;
17 18
 use flipbox\organizations\managers\UsersToOrganizationAssociatedManager;
18 19
 use flipbox\organizations\records\UserAssociation;
19
-use Tightenco\Collect\Support\Collection;
20 20
 
21 21
 /**
22 22
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/queries/OrganizationTypeQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     public $id;
62 62
 
63 63
     /**
64
-     * @param $value
64
+     * @param \Tightenco\Collect\Support\Collection $value
65 65
      * @return $this
66 66
      */
67 67
     public function id($value)
Please login to merge, or discard this patch.