From 16afe15970c53e3d9aeb04b83b54578778b03d7b Mon Sep 17 00:00:00 2001 From: Sorin Sarca Date: Sun, 5 Jan 2025 00:29:59 +0200 Subject: [PATCH] Marked getFactory() as internal --- src/ClosureInfo.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ClosureInfo.php b/src/ClosureInfo.php index 0a8a324..09da9e9 100644 --- a/src/ClosureInfo.php +++ b/src/ClosureInfo.php @@ -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));