summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2017-12-02 21:10:16 +0000
committerStyleCI Bot <[email protected]>2017-12-02 21:10:16 +0000
commitb765ca3ae3d5590fddd4019829bbb9488d7eb7a5 (patch)
tree0677a67e302ee14c50198046a7e1e66bae4b4584 /src
parent4a71157d87c1858e9983016ecbb8eec0c63099d1 (diff)
Apply fixes from StyleCI
Diffstat (limited to 'src')
-rw-r--r--src/Nodes/NodeUtility.php2
-rw-r--r--src/ParseException.php2
-rw-r--r--src/Readability.php6
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)