diff options
author | libraryupgrader <tools.libraryupgrader@tools.wmflabs.org> | 2021-07-22 03:11:47 +0000 |
---|---|---|
committer | DannyS712 <dannys712.wiki@gmail.com> | 2021-07-22 03:36:05 +0000 |
commit | 5357695270161bce1f6dbaccc96645791f17a013 (patch) | |
tree | 7e960bac35ef0f4a1bb940a1e09822169b8d5622 /includes/logging | |
parent | a4fa292eade4be075d3b0e986d92c74e613295fc (diff) | |
download | mediawikicore-5357695270161bce1f6dbaccc96645791f17a013.tar.gz mediawikicore-5357695270161bce1f6dbaccc96645791f17a013.zip |
build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0
The following sniffs now pass and were enabled:
* Generic.ControlStructures.InlineControlStructure
* MediaWiki.PHPUnit.AssertCount.NotUsed
npm:
* svgo: 2.3.0 → 2.3.1
* https://npmjs.com/advisories/1754 (CVE-2021-33587)
Change-Id: I2a9bbee2fecbf7259876d335f565ece4b3622426
Diffstat (limited to 'includes/logging')
-rw-r--r-- | includes/logging/Hook/ManualLogEntryBeforePublishHook.php | 2 | ||||
-rw-r--r-- | includes/logging/LogPage.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/logging/Hook/ManualLogEntryBeforePublishHook.php b/includes/logging/Hook/ManualLogEntryBeforePublishHook.php index 5fdcc2e6a23d..007ed564f107 100644 --- a/includes/logging/Hook/ManualLogEntryBeforePublishHook.php +++ b/includes/logging/Hook/ManualLogEntryBeforePublishHook.php @@ -21,5 +21,5 @@ interface ManualLogEntryBeforePublishHook { * @param ManualLogEntry $logEntry * @return void This hook must not abort, it must return no value */ - public function onManualLogEntryBeforePublish( $logEntry ) : void; + public function onManualLogEntryBeforePublish( $logEntry ): void; } diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index ec99b7c9d171..00b1314c01c7 100644 --- a/includes/logging/LogPage.php +++ b/includes/logging/LogPage.php @@ -300,7 +300,7 @@ class LogPage { * @param ?Language $lang * @return string HTML */ - private static function getTitleLink( Title $title, ?Language $lang ) : string { + private static function getTitleLink( Title $title, ?Language $lang ): string { if ( !$lang ) { return $title->getPrefixedText(); } |