Skip to content

Commit 793727d

Browse files
authored
Merge pull request #98 from ddinchev/master
PHP7.4 compatibility fix.
2 parents 40e8203 + 295b25f commit 793727d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReflectionMethod.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function __toString()
138138
/**
139139
* {@inheritDoc}
140140
*/
141-
public function getClosure($object)
141+
public function getClosure($object = null)
142142
{
143143
$this->initializeInternalReflection();
144144

0 commit comments

Comments
 (0)