From 16e06500642ab3f380bbdbdf10f05875b694f79b Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Wed, 11 Oct 2017 21:01:37 +0200 Subject: [PATCH] Improve some parameter docs Change-Id: I27525337ce5774e2a242b20218094ea588178661 --- CodeEditor.hooks.php | 8 ++++---- phpcs.xml | 5 +---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/CodeEditor.hooks.php b/CodeEditor.hooks.php index 828904e9..990c3cc1 100644 --- a/CodeEditor.hooks.php +++ b/CodeEditor.hooks.php @@ -3,8 +3,8 @@ class CodeEditorHooks { /** * @param Title $title - * @param $model - * @param $format + * @param string $model + * @param string $format * @return null|string */ static function getPageLanguage( Title $title, $model, $format ) { @@ -29,8 +29,8 @@ class CodeEditorHooks { } /** - * @param $user - * @param $defaultPreferences + * @param User $user + * @param array &$defaultPreferences * @return bool */ public static function getPreferences( $user, &$defaultPreferences ) { diff --git a/phpcs.xml b/phpcs.xml index 1201098e..90e8108a 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -2,12 +2,9 @@ - - . - - vendor +