build: Updating mediawiki/mediawiki-codesniffer to 45.0.0

Change-Id: If3efcd4428b5b5e75a0237ad640d9cf4f8c83c26
This commit is contained in:
libraryupgrader 2024-11-02 01:22:27 +00:00
parent 019c86b0f1
commit f631ba47ad
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"require-dev": {
"mediawiki/mediawiki-codesniffer": "44.0.0",
"mediawiki/mediawiki-codesniffer": "45.0.0",
"mediawiki/mediawiki-phan-config": "0.14.0",
"mediawiki/minus-x": "1.1.3",
"php-parallel-lint/php-console-highlighter": "1.0.0",

View file

@ -155,7 +155,7 @@ trait ApiDiscussionToolsTrait {
abstract protected function requestRestbasePageHtml( RevisionRecord $revision ): array;
abstract protected function transformHTML(
Title $title, string $html, int $oldid = null, string $etag = null
Title $title, string $html, ?int $oldid = null, ?string $etag = null
): array;
/**