diff options
author | Umherirrender <umherirrender_de.wp@web.de> | 2024-09-10 21:09:09 +0200 |
---|---|---|
committer | Umherirrender <umherirrender_de.wp@web.de> | 2024-09-11 20:08:50 +0000 |
commit | 512aadac31e8a822e5433cf8beab6ac076311393 (patch) | |
tree | 8f13c81788e748326dc4708d0c5b317234fe83f1 /includes/recentchanges | |
parent | 4a611caaa7ef52bdfc51607770af9504323dff79 (diff) | |
download | mediawikicore-512aadac31e8a822e5433cf8beab6ac076311393.tar.gz mediawikicore-512aadac31e8a822e5433cf8beab6ac076311393.zip |
Use type declaration for class properties holding type hinted arguments
Provided arguments already have type declaration on the construtor
and it is safe to use the same type on the class property
Change-Id: Ia8bbdc4dee59dfb487582dd514486ec8542951be
Diffstat (limited to 'includes/recentchanges')
-rw-r--r-- | includes/recentchanges/RCFeed/FormattedRCFeed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/recentchanges/RCFeed/FormattedRCFeed.php b/includes/recentchanges/RCFeed/FormattedRCFeed.php index c8996c3a3997..9743c40225ea 100644 --- a/includes/recentchanges/RCFeed/FormattedRCFeed.php +++ b/includes/recentchanges/RCFeed/FormattedRCFeed.php @@ -33,7 +33,7 @@ use RecentChange; * @ingroup RecentChanges */ abstract class FormattedRCFeed extends RCFeed { - private $params; + private array $params; /** * @param array $params |