Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
47 | public function execute() |
||
48 | { |
||
49 | //$callback_query = $this->getUpdate()->getCallbackQuery(); |
||
50 | //$user_id = $callback_query->getFrom()->getId(); |
||
51 | //$query_id = $callback_query->getId(); |
||
52 | //$query_data = $callback_query->getData(); |
||
53 | |||
54 | // Call all registered callbacks. |
||
55 | foreach (self::$callbacks as $callback) { |
||
56 | $callback($this->getUpdate()->getCallbackQuery()); |
||
57 | } |
||
58 | |||
59 | return Request::answerCallbackQuery(['callback_query_id' => $this->getUpdate()->getCallbackQuery()->getId()]); |
||
60 | } |
||
61 | |||
72 |