Skip to content

Commit

Permalink
Marked getFactory() as internal
Browse files Browse the repository at this point in the history
  • Loading branch information
sorinsarca committed Jan 4, 2025
1 parent e60dfb0 commit 16afe15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ClosureInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ public function getClosure(?array &$vars = null, ?object $thisObj = null, ?strin
return $this->getFactory($thisObj, $scope)($vars);
}

/**
* @internal
*/
public function getFactory(?object $thisObj, ?string $scope = null): Closure
{
$factory = ($this->factory ??= ClosureStream::factory($this));
Expand Down

0 comments on commit 16afe15

Please sign in to comment.