Skip to content

Commit

Permalink
Declare properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Sep 5, 2015
1 parent d37f124 commit 47c9204
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Console/HelpFormatter.php
Expand Up @@ -42,10 +42,17 @@ class HelpFormatter
*/
protected $_maxOptions = 6;

/**
* Option parser.
*
* @var \Cake\Console\ConsoleOptionParser
*/
protected $_parser;

/**
* Build the help formatter for an OptionParser
*
* @param ConsoleOptionParser $parser The option parser help is being generated for.
* @param \Cake\Console\ConsoleOptionParser $parser The option parser help is being generated for.
*/
public function __construct(ConsoleOptionParser $parser)
{
Expand Down
7 changes: 7 additions & 0 deletions src/Console/Helper.php
Expand Up @@ -35,6 +35,13 @@ abstract class Helper
*/
protected $_defaultConfig = [];

/**
* ConsoleIo instance.
*
* @var \Cake\Console\ConsoleIo
*/
protected $_io;

/**
* Constructor.
*
Expand Down

0 comments on commit 47c9204

Please sign in to comment.