@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | /** |
23 | 23 | * Get instance of polymorphic object |
24 | 24 | * |
25 | - * @return \Application\Models\ItemAttributes |
|
25 | + * @return ItemAttributeValues |
|
26 | 26 | */ |
27 | 27 | public function getInstance() { |
28 | 28 | return new ItemAttributeValues(); |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * |
34 | 34 | * @param array $credentials credentials |
35 | 35 | * @param array $relations related models |
36 | - * @return mixed |
|
36 | + * @return ItemAttributeValuesDTO |
|
37 | 37 | */ |
38 | 38 | public function read(array $credentials = [], array $relations = []) { |
39 | 39 |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * |
34 | 34 | * @param array $credentials credentials |
35 | 35 | * @param array $relations related models |
36 | - * @return mixed |
|
36 | + * @return ItemsDTO |
|
37 | 37 | */ |
38 | 38 | public function read(array $credentials = [], array $relations = []) { |
39 | 39 |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | /** |
66 | 66 | * Get Dependency injection container |
67 | 67 | * |
68 | - * @return \Phalcon\Di |
|
68 | + * @return \Phalcon\DiInterface|null |
|
69 | 69 | */ |
70 | 70 | public function getDi() { |
71 | 71 | return (new Di())->getDefault(); |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * Read logs |
99 | 99 | * |
100 | 100 | * @param array $credentials credentials |
101 | - * @return mixed |
|
101 | + * @return LogDTO |
|
102 | 102 | */ |
103 | 103 | public function read(array $credentials = []) { |
104 | 104 |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * |
35 | 35 | * @param array $credentials credentials |
36 | 36 | * @param array $relations related models |
37 | - * @return mixed |
|
37 | + * @return PageDTO |
|
38 | 38 | */ |
39 | 39 | public function read(array $credentials = [], array $relations = []) { |
40 | 40 |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | * |
83 | 83 | * @param array $credentials credentials |
84 | 84 | * @param array $relations related models |
85 | - * @return mixed |
|
85 | + * @return UserDTO |
|
86 | 86 | */ |
87 | 87 | public function read(array $credentials = [], array $relations = []) { |
88 | 88 | |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * @throws \Application\Modules\Rest\Exceptions\BadRequestException |
108 | 108 | * @throws \Application\Modules\Rest\Exceptions\ConflictException |
109 | 109 | * |
110 | - * @return boolean |
|
110 | + * @return boolean|null |
|
111 | 111 | */ |
112 | 112 | public function update(\Phalcon\Mvc\Model $model = null, array $credentials) { |
113 | 113 | |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | * Get users by condition |
199 | 199 | * |
200 | 200 | * @param array $params |
201 | - * @return \Phalcon\Mvc\Model |
|
201 | + * @return \Phalcon\Mvc\Model\ResultsetInterface|null |
|
202 | 202 | */ |
203 | 203 | public function getList(array $params = []) |
204 | 204 | { |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | * Upload user photos |
241 | 241 | * |
242 | 242 | * @param array $params |
243 | - * @return array |
|
243 | + * @return UserDTO |
|
244 | 244 | */ |
245 | 245 | public function upload(array $params) { |
246 | 246 |
@@ -129,7 +129,6 @@ |
||
129 | 129 | /** |
130 | 130 | * Reverse object to real array for all public properties |
131 | 131 | * |
132 | - * @param object $object |
|
133 | 132 | * @return mixed |
134 | 133 | */ |
135 | 134 | public function toArray() { |
@@ -129,7 +129,6 @@ |
||
129 | 129 | /** |
130 | 130 | * Reverse object to real array for all public properties |
131 | 131 | * |
132 | - * @param object $object |
|
133 | 132 | * @return mixed |
134 | 133 | */ |
135 | 134 | public function toArray() { |
@@ -129,7 +129,6 @@ |
||
129 | 129 | /** |
130 | 130 | * Reverse object to real array for all public properties |
131 | 131 | * |
132 | - * @param object $object |
|
133 | 132 | * @return mixed |
134 | 133 | */ |
135 | 134 | public function toArray() { |
@@ -129,7 +129,6 @@ |
||
129 | 129 | /** |
130 | 130 | * Reverse object to real array for all public properties |
131 | 131 | * |
132 | - * @param object $object |
|
133 | 132 | * @return mixed |
134 | 133 | */ |
135 | 134 | public function toArray() { |