@@ -43,7 +43,7 @@ |
||
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | - * @return \agoalofalife\bpm\Contracts\Handler |
|
| 46 | + * @return \Illuminate\Container\Container |
|
| 47 | 47 | */ |
| 48 | 48 | public function processData() |
| 49 | 49 | { |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | |
| 69 | 69 | |
| 70 | 70 | $response = $this->kernel->getCurl()->request($this->HTTP_TYPE, $urlHome . $url, |
| 71 | - $this->headers()->getCookie()->httpErrorsFalse()->get() |
|
| 71 | + $this->headers()->getCookie()->httpErrorsFalse()->get() |
|
| 72 | 72 | ); |
| 73 | 73 | |
| 74 | 74 | $body = $response->getBody(); |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | - * @return array url -> string , http_type -> string |
|
| 52 | + * @return \Illuminate\Container\Container url -> string , http_type -> string |
|
| 53 | 53 | */ |
| 54 | 54 | public function processData() |
| 55 | 55 | { |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | } |
| 102 | 102 | $ParameterQuery.= " ".$param; |
| 103 | 103 | } |
| 104 | - $this->concatenationUrlCurl($ParameterQuery); |
|
| 104 | + $this->concatenationUrlCurl($ParameterQuery); |
|
| 105 | 105 | |
| 106 | 106 | return $this; |
| 107 | 107 | } |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | $urlHome = config($this->kernel->getPrefixConfig() . '.UrlHome'); |
| 148 | 148 | |
| 149 | 149 | $response = $this->kernel->getCurl()->request($this->HTTP_TYPE, $urlHome . $url, |
| 150 | - $this->debug()->headers()->getCookie()->httpErrorsFalse()->get() |
|
| 150 | + $this->debug()->headers()->getCookie()->httpErrorsFalse()->get() |
|
| 151 | 151 | ); |
| 152 | 152 | $body = $response->getBody(); |
| 153 | 153 | |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | - * @return \agoalofalife\bpm\Contracts\Handler |
|
| 61 | + * @return \Illuminate\Container\Container |
|
| 62 | 62 | */ |
| 63 | 63 | public function processData() |
| 64 | 64 | { |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | $urlHome = config($this->kernel->getPrefixConfig() . '.UrlHome'); |
| 85 | 85 | |
| 86 | 86 | $response = $this->kernel->getCurl()->request($this->HTTP_TYPE, $urlHome . $url, |
| 87 | - $this->headers()->getCookie()->body()->httpErrorsFalse()->get() |
|
| 87 | + $this->headers()->getCookie()->body()->httpErrorsFalse()->get() |
|
| 88 | 88 | ); |
| 89 | 89 | $body = $response->getBody(); |
| 90 | 90 | |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | /** |
| 127 | - * @return Handler |
|
| 127 | + * @return \Illuminate\Container\Container |
|
| 128 | 128 | */ |
| 129 | 129 | public function getHandler() |
| 130 | 130 | { |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | /** |
| 135 | 135 | * Set the response handler |
| 136 | 136 | * @param string $typeHandler default xml |
| 137 | - * @return Action |
|
| 137 | + * @return \Illuminate\Container\Container |
|
| 138 | 138 | */ |
| 139 | 139 | public function setHandler($typeHandler = 'xml') |
| 140 | 140 | { |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | } |
| 153 | 153 | |
| 154 | 154 | /** |
| 155 | - * @param $typeAction string |
|
| 155 | + * @param string $typeAction string |
|
| 156 | 156 | * @return Action |
| 157 | 157 | */ |
| 158 | 158 | public function setAction($typeAction) |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | /** |
| 199 | 199 | * Set collection for correct query |
| 200 | 200 | * @param string $collection |
| 201 | - * @return mixed |
|
| 201 | + * @return string |
|
| 202 | 202 | * @throws \Exception |
| 203 | 203 | */ |
| 204 | 204 | public function setCollection($collection) |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | return app()->make(ClientInterface::class); |
| 229 | 229 | } |
| 230 | 230 | /** |
| 231 | - * @param $action |
|
| 231 | + * @param string $action |
|
| 232 | 232 | * @return array |
| 233 | 233 | */ |
| 234 | 234 | private function splitAction($action) |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | |
| 61 | 61 | $this->headers()->getCookie()->body()->httpErrorsFalse()->get(); |
| 62 | 62 | $response = $this->kernel->getCurl()->request($this->HTTP_TYPE, $urlHome . $url, |
| 63 | - $this->headers()->getCookie()->body()->httpErrorsFalse()->get() |
|
| 63 | + $this->headers()->getCookie()->body()->httpErrorsFalse()->get() |
|
| 64 | 64 | ); |
| 65 | 65 | $body = $response->getBody(); |
| 66 | 66 | $this->kernel->getHandler()->parse($body->getContents()); |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | { |
| 15 | 15 | app()->bind(Logger::class, function(){ |
| 16 | 16 | $log = new Logger(KernelBpm::class); |
| 17 | - return $log->pushHandler(new StreamHandler(KernelBpm::PATH_LOG, Logger::DEBUG)); |
|
| 17 | + return $log->pushHandler(new StreamHandler(KernelBpm::PATH_LOG, Logger::DEBUG)); |
|
| 18 | 18 | }); |
| 19 | 19 | } |
| 20 | 20 | } |
| 21 | 21 | \ No newline at end of file |
@@ -66,8 +66,8 @@ |
||
| 66 | 66 | $body = [ |
| 67 | 67 | 'body' => $this->kernel->getHandler()->create($this->data) |
| 68 | 68 | ]; |
| 69 | - $this->merge($body); |
|
| 70 | - return $this; |
|
| 69 | + $this->merge($body); |
|
| 70 | + return $this; |
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | private function merge(array $newParameters) |