@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | * Creates a new resource |
75 | 75 | * |
76 | 76 | * @return string|null admin output to display or null for redirecting to the list |
77 | - */ |
|
77 | + */ |
|
78 | 78 | public function create() |
79 | 79 | { |
80 | 80 | return $this->client->create(); |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * Deletes a resource |
86 | 86 | * |
87 | 87 | * @return string|null admin output to display or null for redirecting to the list |
88 | - */ |
|
88 | + */ |
|
89 | 89 | public function delete() |
90 | 90 | { |
91 | 91 | return $this->client->delete(); |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * Returns a single resource |
97 | 97 | * |
98 | 98 | * @return string|null admin output to display or null for redirecting to the list |
99 | - */ |
|
99 | + */ |
|
100 | 100 | public function get() |
101 | 101 | { |
102 | 102 | return $this->client->get(); |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * Saves the data |
108 | 108 | * |
109 | 109 | * @return string|null admin output to display or null for redirecting to the list |
110 | - */ |
|
110 | + */ |
|
111 | 111 | public function save() |
112 | 112 | { |
113 | 113 | return $this->client->save(); |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * Returns a list of resource according to the conditions |
119 | 119 | * |
120 | 120 | * @return string admin output to display |
121 | - */ |
|
121 | + */ |
|
122 | 122 | public function search() |
123 | 123 | { |
124 | 124 | return $this->client->search(); |
@@ -37,7 +37,7 @@ |
||
37 | 37 | /** |
38 | 38 | * Returns the site view helper |
39 | 39 | * |
40 | - * @return Aimeos\MW\View\Helper\Site\Iface Site view helper |
|
40 | + * @return Standard Site view helper |
|
41 | 41 | */ |
42 | 42 | public function transform() |
43 | 43 | { |
@@ -498,7 +498,7 @@ |
||
498 | 498 | /** |
499 | 499 | * Constructs the data array for the view from the given item |
500 | 500 | * |
501 | - * @param \Aimeos\MShop\Locale\Item\Iface $item Locale item object |
|
501 | + * @param \Aimeos\MShop\Locale\Item\Site\Iface $item Locale item object |
|
502 | 502 | * @return string[] Multi-dimensional associative list of item data |
503 | 503 | */ |
504 | 504 | protected function toArray( \Aimeos\MShop\Locale\Item\Site\Iface $item, $copy = false ) |
@@ -476,7 +476,7 @@ |
||
476 | 476 | /** |
477 | 477 | * Constructs the data array for the view from the given item |
478 | 478 | * |
479 | - * @param \Aimeos\MShop\Locale\Item\Iface $item Locale item object |
|
479 | + * @param \Aimeos\MShop\Locale\Item\Language\Iface $item Locale item object |
|
480 | 480 | * @return string[] Multi-dimensional associative list of item data |
481 | 481 | */ |
482 | 482 | protected function toArray( \Aimeos\MShop\Locale\Item\Language\Iface $item, $copy = false ) |
@@ -479,7 +479,7 @@ |
||
479 | 479 | /** |
480 | 480 | * Constructs the data array for the view from the given item |
481 | 481 | * |
482 | - * @param \Aimeos\MShop\Locale\Item\Iface $item Locale item object |
|
482 | + * @param \Aimeos\MShop\Locale\Item\Currency\Iface $item Locale item object |
|
483 | 483 | * @return string[] Multi-dimensional associative list of item data |
484 | 484 | */ |
485 | 485 | protected function toArray( \Aimeos\MShop\Locale\Item\Currency\Iface $item, $copy = false ) |
@@ -161,7 +161,6 @@ |
||
161 | 161 | * |
162 | 162 | * You can add, remove or reorder the links in the navigation bar by |
163 | 163 | * setting a new list of client resource names. |
164 | - |
|
165 | 164 | * In the configuration files of extensions, you should only add entries using |
166 | 165 | * one of these lines: |
167 | 166 | * |
@@ -300,6 +300,9 @@ |
||
300 | 300 | } |
301 | 301 | |
302 | 302 | |
303 | + /** |
|
304 | + * @param string $method |
|
305 | + */ |
|
303 | 306 | public function getClientMock( $method ) |
304 | 307 | { |
305 | 308 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Attribute\Standard::class ) |
@@ -294,6 +294,9 @@ |
||
294 | 294 | } |
295 | 295 | |
296 | 296 | |
297 | + /** |
|
298 | + * @param string $method |
|
299 | + */ |
|
297 | 300 | public function getClientMock( $method ) |
298 | 301 | { |
299 | 302 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Catalog\Standard::class ) |
@@ -306,6 +306,9 @@ |
||
306 | 306 | } |
307 | 307 | |
308 | 308 | |
309 | + /** |
|
310 | + * @param string $method |
|
311 | + */ |
|
309 | 312 | public function getClientMock( $method ) |
310 | 313 | { |
311 | 314 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Coupon\Standard::class ) |