mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 07:15:38 +08:00
add builder() and patch_point() global functions
This commit is contained in:
@@ -43,7 +43,7 @@ class BuilderProvider
|
||||
/**
|
||||
* @throws WrongUsageException
|
||||
*/
|
||||
public function getBuilder(): BuilderBase
|
||||
public static function getBuilder(): BuilderBase
|
||||
{
|
||||
if (self::$builder === null) {
|
||||
throw new WrongUsageException('Builder has not been initialized');
|
||||
|
||||
Reference in New Issue
Block a user