diff --git a/src/Library.php b/src/Library.php
index <HASH>..<HASH> 100644
--- a/src/Library.php
+++ b/src/Library.php
@@ -850,7 +850,7 @@ class Library
             }
 
             if (is_array($value) && isset($merged[$key]) && is_array($merged[$key])) {
-                $merged[$key] = array_merge_recursive_distinct($merged[$key], $value);
+                $merged[$key] = self::array_merge_recursive_distinct($merged[$key], $value);
             } else {
                 $merged[$key] = $value;
             }
array_merge_recursive_distinct() to
self:array_merge_recursive_distinct() in Bolt\Library