Skip to content

Commit

Permalink
Enable further clickability in IDE.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Dec 19, 2016
1 parent 64eb8fa commit c91bd63
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Routing/Router.php
Expand Up @@ -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()
{
Expand Down
2 changes: 2 additions & 0 deletions src/Shell/CommandListShell.php
Expand Up @@ -23,6 +23,8 @@

/**
* Shows a list of commands available from the console.
*
* @property \Cake\Shell\Task\CommandTask $Command
*/
class CommandListShell extends Shell
{
Expand Down
2 changes: 2 additions & 0 deletions src/Shell/CompletionShell.php
Expand Up @@ -18,6 +18,8 @@

/**
* Provide command completion shells such as bash.
*
* @property \Cake\Shell\Task\CommandTask $Command
*/
class CompletionShell extends Shell
{
Expand Down
2 changes: 2 additions & 0 deletions src/Shell/I18nShell.php
Expand Up @@ -21,6 +21,8 @@

/**
* Shell for I18N management.
*
* @property \Cake\Shell\Task\ExtractTask $Extract
*/
class I18nShell extends Shell
{
Expand Down
3 changes: 2 additions & 1 deletion src/Shell/OrmCacheShell.php
Expand Up @@ -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(
Expand Down
2 changes: 2 additions & 0 deletions src/Shell/Task/CommandTask.php
Expand Up @@ -210,6 +210,7 @@ public function getShell($commandName)
return false;
}

/* @var \Cake\Console\Shell $Shell */
$Shell = new $class();
$Shell->plugin = trim($pluginDot, '.');
$Shell->initialize();
Expand Down Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions src/Shell/Task/ExtractTask.php
Expand Up @@ -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');
Expand Down

0 comments on commit c91bd63

Please sign in to comment.