Skip to content

Commit d93fae8

Browse files
committed
Add missing FQCN flash prefix
1 parent 72d1f00 commit d93fae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator/WebHook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static function generate(string $path, string $namespace, string $baseNam
3131
$factory = new BuilderFactory();
3232
$stmt = $factory->namespace($namespace);
3333

34-
$class = $factory->class($className)->makeFinal()->implement($baseNamespace . 'WebHookInterface');
34+
$class = $factory->class($className)->makeFinal()->implement('\\' . $baseNamespace . 'WebHookInterface');
3535

3636
$method = $factory->method('resolve')->makePublic()->setReturnType('string')->addParam(
3737
(new Param('data'))->setType('array')

0 commit comments

Comments
 (0)