@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | $links = []; |
158 | 158 | |
159 | 159 | $this->getLinksByTagAttribute("link", "href", $links); |
160 | - $this->getLinksByTagAttribute("a", "href",$links); |
|
160 | + $this->getLinksByTagAttribute("a", "href", $links); |
|
161 | 161 | $this->getLinksByTagAttribute("script", "src", $links); |
162 | 162 | $this->getLinksByTagAttribute("iframe", "src", $links); |
163 | 163 | $this->getLinksByTagAttribute("img", "src", $links); |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | $body = $this->get("body")[0]; |
236 | 236 | |
237 | 237 | $summary = []; |
238 | - $callback = function (GlHtmlNode $childNode) use (&$summary) { |
|
238 | + $callback = function(GlHtmlNode $childNode) use (&$summary) { |
|
239 | 239 | $nodeName = $childNode->getName(); |
240 | 240 | |
241 | 241 | if (preg_match('/^h(\d+)$/', $nodeName, $matches)) { |