| 1 | <?php |
||
| 12 | class Hooks extends FlexiBee |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Evidence užitá objektem. |
||
| 16 | * |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | public $evidence = 'hoks'; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Zaregistruje WebHook |
||
| 23 | * |
||
| 24 | * @param string $url URL skript přímající WebHook |
||
| 25 | * @param string $format json|xml formát přenášených dat |
||
| 26 | * @return string výsledek požadavku |
||
| 27 | */ |
||
| 28 | public function register($url, $format = 'json') |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Odregistruje webhook |
||
| 37 | * |
||
| 38 | * @param int $id číslo záznamu |
||
| 39 | */ |
||
| 40 | public function unregister($id) |
||
| 44 | } |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.