Skip to content

Commit

Permalink
Merge 9bde544 into 82cfcbd
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jul 30, 2020
2 parents 82cfcbd + 9bde544 commit 79a2b72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Console/CommandCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class CommandCollection implements IteratorAggregate, Countable
*
* @var array
* @psalm-var (\Cake\Console\Shell|\Cake\Console\CommandInterface|class-string)[]
* @psalm-suppress DeprecatedClass
*/
protected $commands = [];

Expand Down
1 change: 1 addition & 0 deletions src/Console/ConsoleOptionParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,7 @@ public function parse(array $argv): array
array_shift($argv);
}
if (isset($this->_subcommands[$command]) && $this->_subcommands[$command]->parser()) {
/** @psalm-suppress PossiblyNullReference */
return $this->_subcommands[$command]->parser()->parse($argv);
}
$params = $args = [];
Expand Down
1 change: 1 addition & 0 deletions src/ORM/Behavior/Translate/ShadowTableStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ protected function rowMapper($results, $locale)
unset($row['translation']);

if ($hydrated) {
/** @psalm-suppress PossiblyInvalidMethodCall */
$row->clean();
}

Expand Down

0 comments on commit 79a2b72

Please sign in to comment.