Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions routing/page_loader_phpbb4.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function __construct(driver_interface $db, string $pages_table)
* @param string|null $type The type of the resource, or null if not specified.
* @return RouteCollection The collection of loaded routes.
*/
public function load(mixed $resource, ?string $type = null): RouteCollection
public function load(mixed $resource, string|null $type = null): RouteCollection
{
return $this->core->load_routes();
}
Expand All @@ -53,7 +53,7 @@ public function load(mixed $resource, ?string $type = null): RouteCollection
* @param string|null $type The type of the resource, or null if not specified.
* @return bool True if the loader supports the resource and type, false otherwise.
*/
public function supports(mixed $resource, ?string $type = null): bool
public function supports(mixed $resource, string|null $type = null): bool
{
return $this->core->supports_type($type);
}
Expand Down