浏览代码

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

Improve the `Array.hash()` documentation
Rémi Verschelde 4 年之前
父节点
当前提交
34eb5638d3
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      doc/classes/Array.xml

+ 2 - 1
doc/classes/Array.xml

@@ -313,7 +313,8 @@
 			<return type="int">
 			</return>
 			<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>
 		</method>
 		<method name="insert">