@@ -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 | { |
@@ -12,7 +12,6 @@ |
||
12 | 12 | use Ffcms\Core\Exception\NotFoundException; |
13 | 13 | use Apps\Model\Front\Content\EntityContentRead; |
14 | 14 | use Ffcms\Core\Helper\HTML\SimplePagination; |
15 | -use Ffcms\Core\Helper\Serialize; |
|
16 | 15 | use Ffcms\Core\Helper\Type\Str; |
17 | 16 | use Suin\RSSWriter\Channel; |
18 | 17 | use Suin\RSSWriter\Feed; |
@@ -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) |
@@ -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 | { |
@@ -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 | { |
@@ -10,6 +10,10 @@ |
||
10 | 10 | { |
11 | 11 | public $message; |
12 | 12 | |
13 | + /** |
|
14 | + * @param string $name |
|
15 | + * @param string $type |
|
16 | + */ |
|
13 | 17 | public function createObject($name, $type) |
14 | 18 | { |
15 | 19 | $singleName = false; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * FormAnswerAdd constructor. Pass active record of comment post and user id |
28 | - * @param $recordPost |
|
28 | + * @param \Ffcms\Core\Arch\ActiveModel $recordPost |
|
29 | 29 | * @param int $userId |
30 | 30 | */ |
31 | 31 | public function __construct($recordPost, $userId = 0) |