Skip to content

Commit 50d877b

Browse files
committed
Update spawnHandler type in boot.ts to use PHPInstanceManager
The spawnHandler callback parameter is now typed as PHPInstanceManager instead of PHPProcessManager to align with the interface abstraction.
1 parent 27d41fc commit 50d877b

File tree

1 file changed

+2
-2
lines changed
  • packages/playground/wordpress/src

1 file changed

+2
-2
lines changed

packages/playground/wordpress/src/boot.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type {
33
FileNotFoundAction,
44
FileNotFoundGetActionCallback,
55
FileTree,
6-
PHPProcessManager,
6+
PHPInstanceManager,
77
SpawnHandler,
88
} from '@php-wasm/universal';
99
import {
@@ -62,7 +62,7 @@ export interface BootRequestHandlerOptions {
6262
*/
6363
siteUrl: string;
6464
documentRoot?: string;
65-
spawnHandler?: (processManager: PHPProcessManager) => SpawnHandler;
65+
spawnHandler?: (instanceManager: PHPInstanceManager) => SpawnHandler;
6666
/**
6767
* PHP.ini entries to define before running any code. They'll
6868
* be used for all requests.

0 commit comments

Comments
 (0)