Fix incorrect function visibility

This commit is contained in:
Damian Mooyman 2014-08-13 09:17:02 +12:00
parent ec4c47915a
commit 1fb59f9247
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class CurlLinkChecker implements LinkChecker {
* @param string $href URL to check
* @return int HTTP status code, or null if not checkable (not a link)
*/
protected function checkLink($href) {
public function checkLink($href) {
// Skip non-external links
if(!preg_match('/^https?[^:]*:\/\//', $href)) return null;