@@ -36,10 +36,10 @@ discard block |
||
| 36 | 36 | * @param array $templatePaths List of file system paths where the templates are stored |
| 37 | 37 | * @param string $path Name of the client separated by slashes, e.g "product/property" |
| 38 | 38 | */ |
| 39 | - public function __construct( \Aimeos\Admin\JsonAdm\Iface $client, |
|
| 40 | - \Aimeos\MShop\Context\Item\Iface $context, \Aimeos\MW\View\Iface $view, array $templatePaths, $path ) |
|
| 39 | + public function __construct(\Aimeos\Admin\JsonAdm\Iface $client, |
|
| 40 | + \Aimeos\MShop\Context\Item\Iface $context, \Aimeos\MW\View\Iface $view, array $templatePaths, $path) |
|
| 41 | 41 | { |
| 42 | - parent::__construct( $context, $view, $templatePaths, $path ); |
|
| 42 | + parent::__construct($context, $view, $templatePaths, $path); |
|
| 43 | 43 | |
| 44 | 44 | $this->client = $client; |
| 45 | 45 | } |
@@ -53,9 +53,9 @@ discard block |
||
| 53 | 53 | * @return mixed Returns the value of the called method |
| 54 | 54 | * @throws \Aimeos\Admin\JsonAdm\Exception If method call failed |
| 55 | 55 | */ |
| 56 | - public function __call( $name, array $param ) |
|
| 56 | + public function __call($name, array $param) |
|
| 57 | 57 | { |
| 58 | - return call_user_func_array( array( $this->controller, $name ), $param ); |
|
| 58 | + return call_user_func_array(array($this->controller, $name), $param); |
|
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | |
@@ -66,9 +66,9 @@ discard block |
||
| 66 | 66 | * @param \Psr\Http\Message\ResponseInterface $response Response object |
| 67 | 67 | * @return \Psr\Http\Message\ResponseInterface Modified response object |
| 68 | 68 | */ |
| 69 | - public function delete( ServerRequestInterface $request, ResponseInterface $response ) |
|
| 69 | + public function delete(ServerRequestInterface $request, ResponseInterface $response) |
|
| 70 | 70 | { |
| 71 | - return $this->client->delete( $request, $response ); |
|
| 71 | + return $this->client->delete($request, $response); |
|
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | |
@@ -79,9 +79,9 @@ discard block |
||
| 79 | 79 | * @param \Psr\Http\Message\ResponseInterface $response Response object |
| 80 | 80 | * @return \Psr\Http\Message\ResponseInterface Modified response object |
| 81 | 81 | */ |
| 82 | - public function get( ServerRequestInterface $request, ResponseInterface $response ) |
|
| 82 | + public function get(ServerRequestInterface $request, ResponseInterface $response) |
|
| 83 | 83 | { |
| 84 | - return $this->client->get( $request, $response ); |
|
| 84 | + return $this->client->get($request, $response); |
|
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | |
@@ -93,9 +93,9 @@ discard block |
||
| 93 | 93 | * @param \Psr\Http\Message\ResponseInterface $response Response object |
| 94 | 94 | * @return \Psr\Http\Message\ResponseInterface Modified response object |
| 95 | 95 | */ |
| 96 | - public function patch( ServerRequestInterface $request, ResponseInterface $response ) |
|
| 96 | + public function patch(ServerRequestInterface $request, ResponseInterface $response) |
|
| 97 | 97 | { |
| 98 | - return $this->client->patch( $request, $response ); |
|
| 98 | + return $this->client->patch($request, $response); |
|
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | |
@@ -107,9 +107,9 @@ discard block |
||
| 107 | 107 | * @param \Psr\Http\Message\ResponseInterface $response Response object |
| 108 | 108 | * @return \Psr\Http\Message\ResponseInterface Modified response object |
| 109 | 109 | */ |
| 110 | - public function post( ServerRequestInterface $request, ResponseInterface $response ) |
|
| 110 | + public function post(ServerRequestInterface $request, ResponseInterface $response) |
|
| 111 | 111 | { |
| 112 | - return $this->client->post( $request, $response ); |
|
| 112 | + return $this->client->post($request, $response); |
|
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | |
@@ -121,9 +121,9 @@ discard block |
||
| 121 | 121 | * @param \Psr\Http\Message\ResponseInterface $response Response object |
| 122 | 122 | * @return \Psr\Http\Message\ResponseInterface Modified response object |
| 123 | 123 | */ |
| 124 | - public function put( ServerRequestInterface $request, ResponseInterface $response ) |
|
| 124 | + public function put(ServerRequestInterface $request, ResponseInterface $response) |
|
| 125 | 125 | { |
| 126 | - return $this->client->put( $request, $response ); |
|
| 126 | + return $this->client->put($request, $response); |
|
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | |
@@ -136,8 +136,8 @@ discard block |
||
| 136 | 136 | * @param string|null $prefix Form parameter prefix when nesting parameters is required |
| 137 | 137 | * @return \Psr\Http\Message\ResponseInterface Modified response object |
| 138 | 138 | */ |
| 139 | - public function options( ServerRequestInterface $request, ResponseInterface $response, $prefix = null ) |
|
| 139 | + public function options(ServerRequestInterface $request, ResponseInterface $response, $prefix = null) |
|
| 140 | 140 | { |
| 141 | - return $this->client->options( $request, $response, $prefix ); |
|
| 141 | + return $this->client->options($request, $response, $prefix); |
|
| 142 | 142 | } |
| 143 | 143 | } |