r86919 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86918‎ | r86919 | r86920 >
Date:23:05, 25 April 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
follow up to r86918
Modified paths:
  • /trunk/extensions/Validator/includes/manipulations/ParamManipulationBoolean.php (modified) (history)
  • /trunk/extensions/Validator/includes/manipulations/ParamManipulationFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Validator/includes/manipulations/ParamManipulationFunctions.php
@@ -28,7 +28,7 @@
2929 *
3030 * @since 0.4.2
3131 *
32 - * You can provide an array with function names or pass each function name as a seperate argument.
 32+ * You can provide an array with function names or pass each function name as a separate argument.
3333 */
3434 public function __construct() {
3535 parent::__construct();
Index: trunk/extensions/Validator/includes/manipulations/ParamManipulationBoolean.php
@@ -28,7 +28,7 @@
2929 * @since 0.4
3030 */
3131 public function doManipulation( &$value, Parameter $parameter, array &$parameters ) {
32 - // When the value defaulted to a booeal, there is no need for this manipulation.
 32+ // When the value defaulted to a boolean, there is no need for this manipulation.
3333 if ( !is_bool( $value ) || !$parameter->wasSetToDefault() ) {
3434 $value = in_array( $value, array( 'yes', 'on' ) );
3535 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86918fix typosjeroendedauw23:01, 25 April 2011

Status & tagging log