summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2016-11-08 14:25:23 +0000
committerGitHub <[email protected]>2016-11-08 14:25:23 +0000
commit73015a37b504eaac37c69c3677c6cf79f19330d3 (patch)
tree7346295ad2dd7322b171667aaa8f6f8985d1a8e4
parent9f80666c5c34880a8174c02d97c60d1ef3b0ca3d (diff)
parent81f15619774707244925cb0dbff1076954fdb306 (diff)
Merge pull request #7 from andreskrey/analysis-qyYGK5
Applied fixes from StyleCI
-rw-r--r--src/HTMLParser.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/HTMLParser.php b/src/HTMLParser.php
index 5acb4ea..8928d89 100644
--- a/src/HTMLParser.php
+++ b/src/HTMLParser.php
@@ -128,7 +128,7 @@ class HTMLParser
return [
'title' => $this->metadata['title'],
'author' => $this->metadata['author'],
- 'article' => $result
+ 'article' => $result,
];
}
@@ -297,6 +297,7 @@ class HTMLParser
* Assign scores to each node. This function will rate each node and return a Readability object for each one.
*
* @param array $nodes
+ *
* @return DOMDocument
*/
private function rateNodes($nodes)