Permalink
Browse files

standarises method names

  • Loading branch information...
videlalvaro committed Oct 2, 2013
1 parent 6454145 commit 2617b2dd74f77fce792a1470b4b081dac007f999
Showing with 3 additions and 3 deletions.
  1. +1 −1 PhpAmqpLib/Channel/AMQPChannel.php
  2. +1 −1 PhpAmqpLib/Helper/Protocol/MethodMap091.php
  3. +1 −1 spec/parser.php
@@ -617,7 +617,7 @@ public function basic_cancel($consumer_tag, $nowait=false)
));
}
- protected function basic_cancel_by_server(AMQPReader $args)
+ protected function basic_cancel_from_server(AMQPReader $args)
{
$consumerTag = $args->read_shortstr();
@@ -47,7 +47,7 @@ class MethodMap091
'60,11' => 'basic_qos_ok',
'60,20' => 'basic_consume',
'60,21' => 'basic_consume_ok',
- '60,30' => 'basic_cancel_by_server',
+ '60,30' => 'basic_cancel_from_server',
'60,31' => 'basic_cancel_ok',
'60,40' => 'basic_publish',
'60,50' => 'basic_return',
View
@@ -236,7 +236,7 @@ function method_map($json_spec) {
$ret = array();
$special_map = array(
- '60,30' => 'basic_cancel_by_server',
+ '60,30' => 'basic_cancel_from_server',
'60,80' => 'basic_ack_from_server',
'60,120' => 'basic_nack_from_server'
);

0 comments on commit 2617b2d

Please sign in to comment.