@@ -94,7 +94,7 @@ |
||
94 | 94 | /** |
95 | 95 | * Inject the settings |
96 | 96 | * |
97 | - * @param array $settings |
|
97 | + * @param string[] $settings |
|
98 | 98 | * @return void |
99 | 99 | */ |
100 | 100 | public function injectSettings( array $settings ) |
@@ -50,7 +50,6 @@ discard block |
||
50 | 50 | * Deletes the resource object or a list of resource objects |
51 | 51 | * |
52 | 52 | * @param string Resource location, e.g. "product/stock/wareshouse" |
53 | - * @param string $sitecode Unique site code |
|
54 | 53 | * @param integer $id Unique resource ID |
55 | 54 | * @return string Generated output |
56 | 55 | */ |
@@ -72,7 +71,6 @@ discard block |
||
72 | 71 | * Returns the requested resource object or list of resource objects |
73 | 72 | * |
74 | 73 | * @param string Resource location, e.g. "product/stock/wareshouse" |
75 | - * @param string $sitecode Unique site code |
|
76 | 74 | * @param integer $id Unique resource ID |
77 | 75 | * @return string Generated output |
78 | 76 | */ |
@@ -94,7 +92,6 @@ discard block |
||
94 | 92 | * Updates a resource object or a list of resource objects |
95 | 93 | * |
96 | 94 | * @param string Resource location, e.g. "product/stock/wareshouse" |
97 | - * @param string $sitecode Unique site code |
|
98 | 95 | * @param integer $id Unique resource ID |
99 | 96 | * @return string Generated output |
100 | 97 | */ |
@@ -116,7 +113,6 @@ discard block |
||
116 | 113 | * Creates a new resource object or a list of resource objects |
117 | 114 | * |
118 | 115 | * @param string Resource location, e.g. "product/stock/wareshouse" |
119 | - * @param string $sitecode Unique site code |
|
120 | 116 | * @param integer $id Unique ID of the resource |
121 | 117 | * @return string Generated output |
122 | 118 | */ |
@@ -138,7 +134,6 @@ discard block |
||
138 | 134 | * Creates or updates a single resource object |
139 | 135 | * |
140 | 136 | * @param string Resource location, e.g. "product/stock/wareshouse" |
141 | - * @param string $sitecode Unique site code |
|
142 | 137 | * @param integer $id Unique resource ID |
143 | 138 | * @return string Generated output |
144 | 139 | */ |
@@ -160,7 +155,6 @@ discard block |
||
160 | 155 | * Returns the available HTTP verbs and the resource URLs |
161 | 156 | * |
162 | 157 | * @param string Resource location, e.g. "product/stock/wareshouse" |
163 | - * @param string $sitecode Unique site code |
|
164 | 158 | * @return string Generated output |
165 | 159 | */ |
166 | 160 | public function optionsAction( $resource = '', $site = 'default' ) |
@@ -45,7 +45,6 @@ discard block |
||
45 | 45 | * Returns the HTML code for a copy of a resource object |
46 | 46 | * |
47 | 47 | * @param string Resource location, e.g. "product" |
48 | - * @param string $sitecode Unique site code |
|
49 | 48 | * @param integer $id Unique resource ID |
50 | 49 | * @return string Generated output |
51 | 50 | */ |
@@ -60,7 +59,6 @@ discard block |
||
60 | 59 | * Returns the HTML code for a new resource object |
61 | 60 | * |
62 | 61 | * @param string Resource location, e.g. "product" |
63 | - * @param string $sitecode Unique site code |
|
64 | 62 | * @return string Generated output |
65 | 63 | */ |
66 | 64 | public function createAction( $site = 'default', $resource ) |
@@ -74,7 +72,6 @@ discard block |
||
74 | 72 | * Deletes the resource object or a list of resource objects |
75 | 73 | * |
76 | 74 | * @param string Resource location, e.g. "product" |
77 | - * @param string $sitecode Unique site code |
|
78 | 75 | * @param integer $id Unique resource ID |
79 | 76 | * @return string Generated output |
80 | 77 | */ |
@@ -89,7 +86,6 @@ discard block |
||
89 | 86 | * Returns the HTML code for the requested resource object |
90 | 87 | * |
91 | 88 | * @param string Resource location, e.g. "product" |
92 | - * @param string $sitecode Unique site code |
|
93 | 89 | * @param integer $id Unique resource ID |
94 | 90 | * @return string Generated output |
95 | 91 | */ |
@@ -104,7 +100,6 @@ discard block |
||
104 | 100 | * Saves a new resource object |
105 | 101 | * |
106 | 102 | * @param string Resource location, e.g. "product" |
107 | - * @param string $sitecode Unique site code |
|
108 | 103 | * @return string Generated output |
109 | 104 | */ |
110 | 105 | public function saveAction( $site = 'default', $resource ) |
@@ -118,7 +113,6 @@ discard block |
||
118 | 113 | * Returns the HTML code for a list of resource objects |
119 | 114 | * |
120 | 115 | * @param string Resource location, e.g. "product" |
121 | - * @param string $sitecode Unique site code |
|
122 | 116 | * @return string Generated output |
123 | 117 | */ |
124 | 118 | public function searchAction( $site = 'default', $resource ) |
@@ -132,7 +126,7 @@ discard block |
||
132 | 126 | * Returns the resource controller |
133 | 127 | * |
134 | 128 | * @param string $sitecode Unique site code |
135 | - * @return \Aimeos\MShop\Context\Item\Iface Context item |
|
129 | + * @return \Aimeos\Admin\JQAdm\Iface Context item |
|
136 | 130 | */ |
137 | 131 | protected function createClient( $sitecode, $resource ) |
138 | 132 | { |