dab1d02


On Sun, Aug 25, 2013 at 12:02 PM, Cristi Burcă <notifications@github.com>wrote:

> In php/WP_CLI/Dispatcher/Subcommand.php:
>
> > @@ -28,6 +30,14 @@ function get_alias() {
> >  		return $this->alias;
> >  	}
> >
> > +	function set_prompt( $value ) {
> > +		$this->prompt = (bool)$value;
> > +	}
> > +
> > +	function get_prompt() {
> > +		return $this->prompt;
> > +	}
>
> This getter/setter pair seems superfluous. You could just use
> $this->config['prompt'] directly.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/wp-cli/wp-cli/pull/673/files#r5969302>
> .
>