@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | |
| 125 | 125 | /** |
| 126 | 126 | * Get Protocol |
| 127 | - * @return mixed |
|
| 127 | + * @return string |
|
| 128 | 128 | */ |
| 129 | 129 | public function getProtocol() |
| 130 | 130 | { |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | |
| 134 | 134 | /** |
| 135 | 135 | * Get HTTP TYPE |
| 136 | - * @return mixed |
|
| 136 | + * @return string |
|
| 137 | 137 | */ |
| 138 | 138 | public function getHttpType() |
| 139 | 139 | { |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | |
| 161 | 161 | /** |
| 162 | 162 | * Concatenation Url In Curl |
| 163 | - * @param $newParameters |
|
| 163 | + * @param string $newParameters |
|
| 164 | 164 | * @return $this |
| 165 | 165 | */ |
| 166 | 166 | protected function concatenationUrlCurl($newParameters) |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | } |
| 187 | 187 | /** |
| 188 | 188 | * Получить обьект для обновления |
| 189 | - * @return Select |
|
| 189 | + * @return Update |
|
| 190 | 190 | */ |
| 191 | 191 | public function update() |
| 192 | 192 | { |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | |
| 196 | 196 | /** |
| 197 | 197 | * Get Object for class create |
| 198 | - * @return Select |
|
| 198 | + * @return Create |
|
| 199 | 199 | */ |
| 200 | 200 | public function create() |
| 201 | 201 | { |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | } |
| 204 | 204 | /** |
| 205 | 205 | * Get Object for class delete |
| 206 | - * @return Select |
|
| 206 | + * @return Delete |
|
| 207 | 207 | */ |
| 208 | 208 | public function delete() |
| 209 | 209 | { |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | /** |
| 258 | 258 | * Validation of BPM API response |
| 259 | 259 | * @param $request |
| 260 | - * @return bool |
|
| 260 | + * @return null|boolean |
|
| 261 | 261 | */ |
| 262 | 262 | private function checkRequestAuth($request) |
| 263 | 263 | { |
@@ -20,8 +20,8 @@ |
||
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * Create constructor. |
| 23 | - * @param null $collection |
|
| 24 | - * @param null $format |
|
| 23 | + * @param string $collection |
|
| 24 | + * @param string $format |
|
| 25 | 25 | */ |
| 26 | 26 | public function __construct($collection, $format) |
| 27 | 27 | { |
@@ -14,6 +14,10 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | protected $HTTP_TYPE = 'GET'; |
| 16 | 16 | |
| 17 | + /** |
|
| 18 | + * @param string $collection |
|
| 19 | + * @param string $format |
|
| 20 | + */ |
|
| 17 | 21 | public function __construct($collection,$format) |
| 18 | 22 | { |
| 19 | 23 | parent::__construct($collection,$format); |
@@ -24,7 +28,7 @@ discard block |
||
| 24 | 28 | * Restrictions in the sample query |
| 25 | 29 | * If you want the request to return more than 40 records at a time, it can be implemented using the parameter $ top |
| 26 | 30 | * @param $amountMax |
| 27 | - * @return string |
|
| 31 | + * @return Select |
|
| 28 | 32 | */ |
| 29 | 33 | public function amount($amountMax=null) |
| 30 | 34 | { |
@@ -71,7 +75,7 @@ discard block |
||
| 71 | 75 | * Example $newobject->select()->choose()->orderby()->run(); |
| 72 | 76 | * It can not use |
| 73 | 77 | * @param array $parameters |
| 74 | - * @return string |
|
| 78 | + * @return Select |
|
| 75 | 79 | */ |
| 76 | 80 | public function choose($parameters = array()) |
| 77 | 81 | { |
@@ -7,6 +7,10 @@ |
||
| 7 | 7 | { |
| 8 | 8 | protected $HTTP_TYPE = 'PUT'; |
| 9 | 9 | |
| 10 | + /** |
|
| 11 | + * @param string $collection |
|
| 12 | + * @param string $format |
|
| 13 | + */ |
|
| 10 | 14 | public function __construct($collection, $format) |
| 11 | 15 | { |
| 12 | 16 | parent::__construct($collection, $format); |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | } |
| 73 | 73 | /** |
| 74 | 74 | * Get one Element |
| 75 | - * @return mixed |
|
| 75 | + * @return XmlHandler |
|
| 76 | 76 | */ |
| 77 | 77 | public function arrayOne() |
| 78 | 78 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | |
| 84 | 84 | /** |
| 85 | 85 | * Extraction array in response XML , more element one |
| 86 | - * @return array |
|
| 86 | + * @return XmlHandler|null |
|
| 87 | 87 | * @throws \Exception |
| 88 | 88 | */ |
| 89 | 89 | public function arrayMany() |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | |
| 148 | 148 | /** |
| 149 | 149 | * Get collect Data in proprty @responceRender |
| 150 | - * @return mixed |
|
| 150 | + * @return \Illuminate\Support\Collection |
|
| 151 | 151 | */ |
| 152 | 152 | public function collectData() |
| 153 | 153 | { |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | if (! function_exists('JsonHandler')) { |
| 19 | 19 | /** |
| 20 | 20 | * Just return object XmlHandler |
| 21 | - * @return XmlHandler |
|
| 21 | + * @return JsonHandler |
|
| 22 | 22 | */ |
| 23 | 23 | function JsonHandler() |
| 24 | 24 | { |