Browse Source

Merge pull request #44624 from Calinou/doc-array-hash

Improve the `Array.hash()` documentation
Rémi Verschelde 4 years ago
parent
commit
34eb5638d3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      doc/classes/Array.xml

+ 2 - 1
doc/classes/Array.xml

@@ -313,7 +313,8 @@
 			<return type="int">
 			<return type="int">
 			</return>
 			</return>
 			<description>
 			<description>
-				Returns a hashed integer value representing the array contents.
+				Returns a hashed integer value representing the array and its contents.
+				[b]Note:[/b] Arrays with equal contents can still produce different hashes. Only the exact same arrays will produce the same hashed integer value.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="insert">
 		<method name="insert">