Skip to content

Commit

Permalink
Fix argument typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Dec 24, 2019
1 parent 81bce9c commit eecdcfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AccessibilityHelperTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ public function getReflectionInstance(?string $class = null): object
*
* @param string $method the method name
* @param array $args Argument list to call $method with (call_user_func_array style)
* @param string $class Target reflection class
* @param string|object|null $class Target reflection class
* @return mixed
*/
public function callProtectedMethod(string $method, array $args = [], ?string $class = null)
public function callProtectedMethod(string $method, array $args = [], $class = null)
{
$class = $this->_getReflectionTargetClass($class);
$cacheKey = $class . '_' . $method;
Expand Down

0 comments on commit eecdcfc

Please sign in to comment.