@@ -123,7 +123,7 @@ |
||
123 | 123 | /** |
124 | 124 | * Get current extension active record |
125 | 125 | * @param string|null $type |
126 | - * @return mixed |
|
126 | + * @return AppRecord |
|
127 | 127 | */ |
128 | 128 | public function getTypeItem($type = null) |
129 | 129 | { |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | /** |
21 | 21 | * FormCommentUpdate constructor. Pass record inside the model. |
22 | - * @param \Apps\ActiveRecord\CommentPost|\Apps\ActiveRecord\CommentAnswer $record |
|
22 | + * @param \Ffcms\Core\Arch\ActiveModel $record |
|
23 | 23 | */ |
24 | 24 | public function __construct($record, $type = 'comment') |
25 | 25 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | |
18 | 18 | /** |
19 | 19 | * FormContentPublish constructor. Pass records inside |
20 | - * @param Content[]|Collection $records |
|
20 | + * @param \Ffcms\Core\Arch\ActiveModel $records |
|
21 | 21 | */ |
22 | 22 | public function __construct($records) |
23 | 23 | { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | /** |
60 | 60 | * @deprecated |
61 | - * @return \Illuminate\Database\Eloquent\Collection|mixed |
|
61 | + * @return \Illuminate\Database\Eloquent\Collection |
|
62 | 62 | * @throws SyntaxException |
63 | 63 | */ |
64 | 64 | public static function getAll() |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | * Get single row by defined type and sys_name with query caching |
89 | 89 | * @param string $type |
90 | 90 | * @param string|array $name |
91 | - * @return mixed|null |
|
91 | + * @return App |
|
92 | 92 | * @throws SyntaxException |
93 | 93 | */ |
94 | 94 | public static function getItem($type, $name) |
@@ -168,7 +168,7 @@ |
||
168 | 168 | /** |
169 | 169 | * Get user person like a object via email |
170 | 170 | * @param string|null $email |
171 | - * @return null|self |
|
171 | + * @return null|ActiveModel |
|
172 | 172 | */ |
173 | 173 | public static function getIdentityViaEmail(?string $email = null) |
174 | 174 | { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * EntityContentSearch constructor. Pass search terms (query string) to model and used items to skip it by id. |
34 | 34 | * @param $terms |
35 | - * @param int|array $skipIds |
|
35 | + * @param integer $skipIds |
|
36 | 36 | * @param int|null $categoryId |
37 | 37 | */ |
38 | 38 | public function __construct($terms, $skipIds = 0, $categoryId = null) |