@@ -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 | { |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | * Get single row by defined type and sys_name with query caching |
| 60 | 60 | * @param string $type |
| 61 | 61 | * @param string $sys_name |
| 62 | - * @return mixed|null |
|
| 62 | + * @return App |
|
| 63 | 63 | * @throws SyntaxException |
| 64 | 64 | */ |
| 65 | 65 | public static function getItem($type, $sys_name) |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | /** |
| 26 | 26 | * EntityContentSearch constructor. Pass search terms (query string) to model and used items to skip it by id. |
| 27 | 27 | * @param $terms |
| 28 | - * @param int|array $skipIds |
|
| 28 | + * @param integer $skipIds |
|
| 29 | 29 | */ |
| 30 | 30 | public function __construct($terms, $skipIds = 0) |
| 31 | 31 | { |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | 97 | * Send email notification after feedback request creation |
| 98 | - * @param $record |
|
| 98 | + * @param FeedbackPost $record |
|
| 99 | 99 | * @throws \Ffcms\Core\Exception\SyntaxException |
| 100 | 100 | */ |
| 101 | 101 | private function sendEmail($record) |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * FormCommentUpdate constructor. Pass record inside the model. |
| 18 | - * @param Apps\ActiveRecord\CommentPost|Apps\ActiveRecord\CommentAnswer $record |
|
| 18 | + * @param \Ffcms\Core\Arch\ActiveModel $record |
|
| 19 | 19 | */ |
| 20 | 20 | public function __construct($record, $type = 'comment') |
| 21 | 21 | { |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | |
| 79 | 79 | /** |
| 80 | 80 | * Make query to database |
| 81 | - * @return object |
|
| 81 | + * @return string |
|
| 82 | 82 | */ |
| 83 | 83 | private function makeQuery() |
| 84 | 84 | { |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | /** |
| 161 | 161 | * Get user person like a object via email |
| 162 | 162 | * @param string $email |
| 163 | - * @return null|static |
|
| 163 | + * @return null|ActiveModel |
|
| 164 | 164 | */ |
| 165 | 165 | public static function getIdentityViaEmail($email) |
| 166 | 166 | { |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | |
| 210 | 210 | /** |
| 211 | 211 | * Get user logs |
| 212 | - * @return \Apps\ActiveRecord\UserLog |
|
| 212 | + * @return \Illuminate\Database\Eloquent\Relations\HasMany |
|
| 213 | 213 | */ |
| 214 | 214 | public function getLogs() |
| 215 | 215 | { |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | |
| 79 | 79 | /** |
| 80 | 80 | * Make query to database |
| 81 | - * @return object |
|
| 81 | + * @return string |
|
| 82 | 82 | */ |
| 83 | 83 | private function makeQuery() |
| 84 | 84 | { |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * FormCommentModerate constructor. Pass active record and type of comment system inside. |
| 14 | - * @param object $record |
|
| 14 | + * @param object $records |
|
| 15 | 15 | * @param string $type |
| 16 | 16 | */ |
| 17 | 17 | public function __construct($records, $type) |