@@ -27,7 +27,7 @@ |
||
27 | 27 | * Standard param parsing. |
28 | 28 | * |
29 | 29 | * @param $value |
30 | - * @param $join |
|
30 | + * @param string $join |
|
31 | 31 | * @return bool |
32 | 32 | */ |
33 | 33 | public static function parseBaseParam(&$value, &$join) |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | const TEMPLATE_UPSERT = self::TEMPLATE_BASE . DIRECTORY_SEPARATOR . 'upsert'; |
47 | 47 | |
48 | 48 | /** |
49 | - * @return string |
|
49 | + * @return Response |
|
50 | 50 | */ |
51 | 51 | public function actionIndex() |
52 | 52 | { |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | * @param null $identifier |
75 | 75 | * @param null $typeIdentifier |
76 | 76 | * @param OrganizationElement|null $organization |
77 | - * @return string |
|
77 | + * @return Response |
|
78 | 78 | */ |
79 | 79 | public function actionUpsert($identifier = null, $typeIdentifier = null, OrganizationElement $organization = null) |
80 | 80 | { |
@@ -270,7 +270,7 @@ |
||
270 | 270 | /** |
271 | 271 | * Sets the [[userId]] property. |
272 | 272 | * |
273 | - * @param string|string[]|integer|integer[]|UserElement|UserElement[] $users The property value |
|
273 | + * @param \craft\base\ElementInterface $users The property value |
|
274 | 274 | * |
275 | 275 | * @return self The query object itself |
276 | 276 | */ |
@@ -501,7 +501,7 @@ discard block |
||
501 | 501 | /** |
502 | 502 | * Get an associated type by identifier (id/handle) |
503 | 503 | * |
504 | - * @param $identifier |
|
504 | + * @param integer $identifier |
|
505 | 505 | * @return null|TypeModel |
506 | 506 | */ |
507 | 507 | public function getType($identifier) |
@@ -1367,7 +1367,7 @@ discard block |
||
1367 | 1367 | } |
1368 | 1368 | |
1369 | 1369 | /** |
1370 | - * @param string|User $user |
|
1370 | + * @param User $user |
|
1371 | 1371 | * @return bool |
1372 | 1372 | */ |
1373 | 1373 | public function isOwner($user = 'CURRENT_USER') |
@@ -693,7 +693,7 @@ |
||
693 | 693 | /** |
694 | 694 | * Returns any additional criteria parameters limiting which elements the field should be able to select. |
695 | 695 | * |
696 | - * @return array |
|
696 | + * @return null|ElementInterface |
|
697 | 697 | */ |
698 | 698 | protected function inputSelectionCriteria(): array |
699 | 699 | { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | /** |
58 | 58 | * @param TypeModel $type |
59 | 59 | * @param bool $isNew |
60 | - * @return bool |
|
60 | + * @return boolean|null |
|
61 | 61 | */ |
62 | 62 | public function afterSave(TypeModel $type, bool $isNew) |
63 | 63 | { |
@@ -56,7 +56,7 @@ |
||
56 | 56 | * @param OrganizationElement $organization |
57 | 57 | * @param array $criteria |
58 | 58 | * @param string $scenario |
59 | - * @return TypeModel|null |
|
59 | + * @return \flipbox\spark\models\Model|null |
|
60 | 60 | */ |
61 | 61 | public function findPrimaryByOrganization( |
62 | 62 | OrganizationElement $organization, |
@@ -847,7 +847,7 @@ |
||
847 | 847 | |
848 | 848 | /** |
849 | 849 | * @param OrganizationElement $element |
850 | - * @param $newOwnerId |
|
850 | + * @param integer $newOwnerId |
|
851 | 851 | * @return bool |
852 | 852 | * @throws \Exception |
853 | 853 | * @throws \yii\db\Exception |