Applied fixes from StyleCI

This commit is contained in:
Daniil Gentili 2016-08-18 14:54:40 -04:00 committed by StyleCI Bot
parent f8f24b9093
commit 01e54fe5ff

View File

@ -136,15 +136,18 @@ Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB
} }
} }
public function generate_seq_no($content_related = true) { public function generate_seq_no($content_related = true)
{
$in = $content_related ? 1 : 0; $in = $content_related ? 1 : 0;
$value = $this->seq_no; $value = $this->seq_no;
$this->seq_no += $in; $this->seq_no += $in;
var_dump(($value * 2) + $in); var_dump(($value * 2) + $in);
return ($value * 2) + $in; return ($value * 2) + $in;
} }
public function anknowledge($msg_id) { public function anknowledge($msg_id)
{
return $this->method_call('msgs_ack', [$msg_id]); return $this->method_call('msgs_ack', [$msg_id]);
} }