Skip to content

Commit 7303506

Browse files
committed
fix swoole-hook
1 parent 421b383 commit 7303506

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

src/SPC/builder/extension/swoole_hook_mysql.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
#[CustomExt('swoole-hook-mysql')]
1212
class swoole_hook_mysql extends Extension
1313
{
14+
public function getDistName(): string
15+
{
16+
return 'swoole';
17+
}
18+
1419
public function getUnixConfigureArg(): string
1520
{
1621
// pdo_mysql doesn't need to be disabled

src/SPC/builder/extension/swoole_hook_pgsql.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
#[CustomExt('swoole-hook-pgsql')]
1313
class swoole_hook_pgsql extends Extension
1414
{
15+
public function getDistName(): string
16+
{
17+
return 'swoole';
18+
}
19+
1520
public function getUnixConfigureArg(): string
1621
{
1722
// pdo_pgsql need to be disabled

src/SPC/builder/extension/swoole_hook_sqlite.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
#[CustomExt('swoole-hook-sqlite')]
1313
class swoole_hook_sqlite extends Extension
1414
{
15+
public function getDistName(): string
16+
{
17+
return 'swoole';
18+
}
19+
1520
public function getUnixConfigureArg(): string
1621
{
1722
// pdo_pgsql need to be disabled

0 commit comments

Comments
 (0)