File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -200,19 +200,13 @@ protected function buildPath()
200200 $ key = $ location ->getKey ();
201201 }
202202 switch (get_class ($ this ->command )) {
203- case 'Basho\Riak\Command\Bucket\List ' :
204- $ this ->path = sprintf ('/types/%s/buckets/%s ' , $ bucket ->getType (), $ bucket ->getName ());
205- break ;
206203 /** @noinspection PhpMissingBreakStatementInspection */
207204 case 'Basho\Riak\Command\Bucket\Store ' :
208205 $ this ->headers [static ::CONTENT_TYPE_KEY ] = static ::CONTENT_TYPE_JSON ;
209206 case 'Basho\Riak\Command\Bucket\Fetch ' :
210207 case 'Basho\Riak\Command\Bucket\Delete ' :
211208 $ this ->path = sprintf ('/types/%s/buckets/%s/props ' , $ bucket ->getType (), $ bucket ->getName ());
212209 break ;
213- case 'Basho\Riak\Command\Bucket\Keys ' :
214- $ this ->path = sprintf ('/types/%s/buckets/%s/keys ' , $ bucket ->getType (), $ bucket ->getName ());
215- break ;
216210 /** @noinspection PhpMissingBreakStatementInspection */
217211 case 'Basho\Riak\Command\Object\Fetch ' :
218212 $ this ->headers ['Accept ' ] = '*/*, multipart/mixed ' ;
You can’t perform that action at this time.
0 commit comments