diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Nodes/NodeUtility.php | 2 | ||||
-rw-r--r-- | src/ParseException.php | 2 | ||||
-rw-r--r-- | src/Readability.php | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/Nodes/NodeUtility.php b/src/Nodes/NodeUtility.php index 800e530..0e1072f 100644 --- a/src/Nodes/NodeUtility.php +++ b/src/Nodes/NodeUtility.php @@ -3,8 +3,8 @@ namespace andreskrey\Readability\Nodes; use andreskrey\Readability\Nodes\DOM\DOMDocument; -use andreskrey\Readability\Nodes\DOM\DOMNode; use andreskrey\Readability\Nodes\DOM\DOMElement; +use andreskrey\Readability\Nodes\DOM\DOMNode; /** * Class NodeUtility. diff --git a/src/ParseException.php b/src/ParseException.php index 335851f..646c04a 100644 --- a/src/ParseException.php +++ b/src/ParseException.php @@ -2,8 +2,6 @@ namespace andreskrey\Readability; - class ParseException extends \Exception { - } diff --git a/src/Readability.php b/src/Readability.php index 90d18d7..4dcde3c 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -108,6 +108,7 @@ class Readability * Main parse function. * * @param $html + * * @throws ParseException * * @return array|bool @@ -444,7 +445,7 @@ class Readability } /** - * Convert URI to an absolute URI + * Convert URI to an absolute URI. * * @param $uri string URI to convert * @@ -484,7 +485,7 @@ class Readability } /** - * Returns full path info of an URL + * Returns full path info of an URL. * * @param string $url * @@ -1371,6 +1372,7 @@ class Readability /** * @param DOMDocument $article + * * @return DOMDocument */ public function postProcessContent(DOMDocument $article) |