Skip to content

Commit 1750712

Browse files
committed
Merge branch 'master' into dev/4.0
2 parents bb4bba3 + 4711d00 commit 1750712

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

routing/page_loader_phpbb4.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(driver_interface $db, string $pages_table)
4141
* @param string|null $type The type of the resource, or null if not specified.
4242
* @return RouteCollection The collection of loaded routes.
4343
*/
44-
public function load(mixed $resource, ?string $type = null): RouteCollection
44+
public function load(mixed $resource, string|null $type = null): RouteCollection
4545
{
4646
return $this->core->load_routes();
4747
}
@@ -53,7 +53,7 @@ public function load(mixed $resource, ?string $type = null): RouteCollection
5353
* @param string|null $type The type of the resource, or null if not specified.
5454
* @return bool True if the loader supports the resource and type, false otherwise.
5555
*/
56-
public function supports(mixed $resource, ?string $type = null): bool
56+
public function supports(mixed $resource, string|null $type = null): bool
5757
{
5858
return $this->core->supports_type($type);
5959
}

0 commit comments

Comments
 (0)