Skip to content

Commit f89edc6

Browse files
committed
Fix bug incorrectly calling callable.
1 parent 700cf84 commit f89edc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/PullRequestTypeSelector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function getChangeType(ChangeInterface $change) : Type
4141
}
4242

4343
if ($this->_typeSelector) {
44-
return $this->_typeSelector($change);
44+
return call_user_func($this->_typeSelector, $change);
4545
}
4646

4747
return $change->getType();

0 commit comments

Comments
 (0)