* or as subpage (Special:Block/Foo) */
protected $target;
- /// @var Block::TYPE_ constant
+ /** @var Integer Block::TYPE_ constant */
protected $type;
- /// @var User|String the previous block target
+ /** @var User|String the previous block target */
protected $previousTarget;
- /// @var Bool whether the previous submission of the form asked for HideUser
+ /** @var Bool whether the previous submission of the form asked for HideUser */
protected $requestedHideUser;
- /// @var Bool
+ /** @var Bool */
protected $alreadyBlocked;
- /// @var Array
+ /** @var Array */
protected $preErrors = array();
public function __construct() {
/**
* Given the form data, actually implement a block
- * @param $data Array
- * @param $context IContextSource
+ * @param $data Array
+ * @param $context IContextSource
* @return Bool|String
*/
public static function processForm( array $data, IContextSource $context ) {
/**
* Process the form on POST submission.
- * @param $data Array
+ * @param $data Array
* @return Bool|Array true for success, false for didn't-try, array of errors on failure
*/
public function onSubmit( array $data ) {