Skip to content

Commit 1fa648a

Browse files
authored
Merge pull request #3571 from samsonasik/allow-string-reflectionhelper-getaccessibelproperty
Allow string for parameter $obj in ReflectionHelper::getAccessibleRefProperty()
2 parents ae98ae6 + c032084 commit 1fa648a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Test/ReflectionHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ public static function getPrivateMethodInvoker($obj, $method)
7272
/**
7373
* Find an accessible property.
7474
*
75-
* @param object $obj
76-
* @param string $property
75+
* @param object|string $obj
76+
* @param string $property
7777
*
7878
* @return \ReflectionProperty
7979
* @throws \ReflectionException

0 commit comments

Comments
 (0)