diff --git a/src/HtmlPage.php b/src/HtmlPage.php
index <HASH>..<HASH> 100644
--- a/src/HtmlPage.php
+++ b/src/HtmlPage.php
@@ -217,7 +217,7 @@ class HtmlPage implements Linkable, ContentElementInterface, StatusCodeContainer
      */
     public function getLinks()
     {
-        return array_values($this->getStyleLinks() + array_filter($this->headElements, function(HeadElement $element) {
+        return array_merge($this->getStyleLinks(), array_filter($this->headElements, function(HeadElement $element) {
             return $element instanceof LinkInterface;
         }));
     }
More stable way of merging the 2 kinds of links.