Skip to content
Permalink
Browse files

Enable further clickability in IDE.

  • Loading branch information...
dereuromark committed Dec 19, 2016
1 parent 64eb8fa commit c91bd6301d5479bdcb48d2df5114f21ce2a9de24
@@ -999,7 +999,7 @@ public static function plugin($name, $options = [], $callback = null)
/**
* Get the route scopes and their connected routes.
*
* @return array
* @return \Cake\Routing\Route\Route[]
*/
public static function routes()
{
@@ -23,6 +23,8 @@
/**
* Shows a list of commands available from the console.
*
* @property \Cake\Shell\Task\CommandTask $Command
*/
class CommandListShell extends Shell
{
@@ -18,6 +18,8 @@
/**
* Provide command completion shells such as bash.
*
* @property \Cake\Shell\Task\CommandTask $Command
*/
class CompletionShell extends Shell
{
@@ -21,6 +21,8 @@
/**
* Shell for I18N management.
*
* @property \Cake\Shell\Task\ExtractTask $Extract
*/
class I18nShell extends Shell
{
@@ -90,10 +90,11 @@ public function clear($name = null)
/**
* Helper method to get the schema collection.
*
* @return false|\Cake\Database\Schema\Collection
* @return false|\Cake\Database\Schema\Collection|\Cake\Database\Schema\CachedCollection
*/
protected function _getSchema()
{
/* @var \Cake\Database\Connection $source */
$source = ConnectionManager::get($this->params['connection']);
if (!method_exists($source, 'schemaCollection')) {
$msg = sprintf(
@@ -210,6 +210,7 @@ public function getShell($commandName)
return false;
}
/* @var \Cake\Console\Shell $Shell */
$Shell = new $class();
$Shell->plugin = trim($pluginDot, '.');
$Shell->initialize();
@@ -246,6 +247,7 @@ public function options($commandName, $subCommandName = '')
$options = [];
$array = $parser->options();
/* @var \Cake\Console\ConsoleInputOption $obj */
foreach ($array as $name => $obj) {
$options[] = "--$name";
$short = $obj->short();
@@ -364,6 +364,7 @@ public function getOptionParser()
*/
protected function _extractTokens()
{
/* @var \Cake\Shell\Helper\ProgressHelper $progress */
$progress = $this->helper('progress');
$progress->init(['total' => count($this->_files)]);
$isVerbose = $this->param('verbose');

0 comments on commit c91bd63

Please sign in to comment.
You can’t perform that action at this time.