File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
sources/server/src/Modules Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function run(Container\ContainerInterface $container): bool
2929 $ properties = $ container ->get (Modularity \Package::PROPERTIES );
3030
3131 $ baseDir = \untrailingslashit ($ properties ->basePath ());
32- $ baseUrl = \untrailingslashit ($ properties ->baseUrl ());
32+ $ baseUrl = \untrailingslashit (( string ) $ properties ->baseUrl ());
3333
3434 /**
3535 * @var array{dependencies?: array<string>, version?: string} $asset
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public function run(Container\ContainerInterface $container): bool
7676
7777 private static function postTypesExample (Modularity \Properties \Properties $ properties ): void
7878 {
79- $ baseUrl = \untrailingslashit ($ properties ->baseUrl ());
79+ $ baseUrl = \untrailingslashit (( string ) $ properties ->baseUrl ());
8080
8181 \wp_register_script (
8282 'kensaku-e2e-post-types-example-block ' ,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function run(Container\ContainerInterface $container): bool
3333 $ properties = $ container ->get (Modularity \Package::PROPERTIES );
3434
3535 $ baseDir = \untrailingslashit ($ properties ->basePath ());
36- $ baseUrl = \untrailingslashit ($ properties ->baseUrl ());
36+ $ baseUrl = \untrailingslashit (( string ) $ properties ->baseUrl ());
3737
3838 /**
3939 * @var array{dependencies?: array<string>, version?: string} $asset
You can’t perform that action at this time.
0 commit comments