-
Notifications
You must be signed in to change notification settings - Fork 572
Expand file tree
/
Copy pathReflectionClass.patch
More file actions
20 lines (20 loc) · 997 Bytes
/
ReflectionClass.patch
File metadata and controls
20 lines (20 loc) · 997 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Reflection/ReflectionClass.php 2026-04-24 11:57:10
+++ Reflection/ReflectionClass.php 2026-04-25 21:47:47
@@ -305,7 +305,7 @@
*
* @link https://php.net/manual/en/reflectionclass.getconstants.php
* @param int|null $filter [optional] allows the filtering of constants defined in a class by their visibility. Since 8.0.
- * @return array<string, scalar|array<scalar>> An array of constants, where the keys hold the name and
+ * @return array<string, mixed> An array of constants, where the keys hold the name and
* the values the value of the constants.
*/
#[Pure]
@@ -317,7 +317,7 @@
*
* @link https://php.net/manual/en/reflectionclass.getconstant.php
* @param string $name Name of the constant.
- * @return scalar|array<scalar> Value of the constant with the name name.
+ * @return mixed Value of the constant with the name name.
* Returns {@see false} if the constant was not found in the class.
*/
#[Pure]