@@ -12,7 +12,7 @@ |
||
12 | 12 | /** |
13 | 13 | * Get record via category path address |
14 | 14 | * @param string $path |
15 | - * @return self|object|null |
|
15 | + * @return ContentCategory |
|
16 | 16 | */ |
17 | 17 | public static function getByPath($path = '') |
18 | 18 | { |
@@ -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; |
@@ -15,6 +15,9 @@ |
||
15 | 15 | private $_user; |
16 | 16 | private $_target_id; |
17 | 17 | |
18 | + /** |
|
19 | + * @param string $target_id |
|
20 | + */ |
|
18 | 21 | public function __construct(iUser $user, $target_id) |
19 | 22 | { |
20 | 23 | $this->_user = $user; |
@@ -41,7 +41,7 @@ |
||
41 | 41 | |
42 | 42 | /** |
43 | 43 | * Get target user for current record |
44 | - * @return bool|\Illuminate\Support\Collection|null|static |
|
44 | + * @return null|\Ffcms\Core\Interfaces\iUser |
|
45 | 45 | */ |
46 | 46 | public function getUser() |
47 | 47 | { |
@@ -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 | { |