@@ -10,6 +10,9 @@ |
||
| 10 | 10 | { |
| 11 | 11 | public $message; |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @param string $type |
|
| 15 | + */ |
|
| 13 | 16 | public function createObject($name, $type) |
| 14 | 17 | { |
| 15 | 18 | $singleName = false; |
@@ -18,9 +18,9 @@ |
||
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * EntityDeleteRoute constructor. Pass parameters from controller |
| 21 | - * @param null $type |
|
| 22 | - * @param null $loader |
|
| 23 | - * @param null $source |
|
| 21 | + * @param string $type |
|
| 22 | + * @param string $loader |
|
| 23 | + * @param string $source |
|
| 24 | 24 | */ |
| 25 | 25 | public function __construct($type = null, $loader = null, $source = null) |
| 26 | 26 | { |
@@ -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 | { |
@@ -163,7 +163,7 @@ |
||
| 163 | 163 | /** |
| 164 | 164 | * Get user person like a object via email |
| 165 | 165 | * @param string $email |
| 166 | - * @return null|static |
|
| 166 | + * @return null|ActiveModel |
|
| 167 | 167 | */ |
| 168 | 168 | public static function getIdentityViaEmail($email) |
| 169 | 169 | { |
@@ -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 | { |