diff --git a/lib/SimpleSAML/Utils/Arrays.php b/lib/SimpleSAML/Utils/Arrays.php
index b7af49d0189ad8cdfafa03de912c5912083b8a13..0a5129230b98a50eac339225f2fb72ad0b441ed4 100644
--- a/lib/SimpleSAML/Utils/Arrays.php
+++ b/lib/SimpleSAML/Utils/Arrays.php
@@ -12,7 +12,7 @@ class Arrays
     /**
      * Put a non-array variable into an array.
      *
-     * @param array $data The data to place into an array.
+     * @param mixed $data The data to place into an array.
      * @param mixed $index The index or key of the array where to place the data. Defaults to 0.
      *
      * @return array An array with one element containing $data, with key $index, or $data itself if it's already an