patch->setBranch('v6 Stable'); } function check() : bool { if ($this->fetch('https://mikrotik.com/download')) { $this->str_crop('id="routeros"', ''); return $this->parse('/([\d\.]+) Stable<\/th>/'); } return false; } } ?>