aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Settings/Source
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2024-09-10 21:09:09 +0200
committerUmherirrender <umherirrender_de.wp@web.de>2024-09-11 20:08:50 +0000
commit512aadac31e8a822e5433cf8beab6ac076311393 (patch)
tree8f13c81788e748326dc4708d0c5b317234fe83f1 /includes/Settings/Source
parent4a611caaa7ef52bdfc51607770af9504323dff79 (diff)
downloadmediawikicore-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/Settings/Source')
-rw-r--r--includes/Settings/Source/ArraySource.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Settings/Source/ArraySource.php b/includes/Settings/Source/ArraySource.php
index be7c66bdae37..e945e283229a 100644
--- a/includes/Settings/Source/ArraySource.php
+++ b/includes/Settings/Source/ArraySource.php
@@ -10,7 +10,7 @@ use Stringable;
* @since 1.38
*/
class ArraySource implements Stringable, SettingsSource {
- private $settings;
+ private array $settings;
public function __construct( array $settings ) {
$this->settings = $settings;