Skip to content

Commit 15e25dd

Browse files
authored
Merge pull request #175 from mfrascati/master
Fix deprecation warnings
2 parents 6c3d538 + cd1afb9 commit 15e25dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Model/Table/QueuedJobsTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ public function terminateProcess($pid, $sig = SIGTERM) {
687687
* @return string
688688
*/
689689
protected function _getDriverName() {
690-
$className = explode('\\', $this->connection()->config()['driver']);
690+
$className = explode('\\', $this->getConnection()->config()['driver']);
691691
$name = end($className);
692692

693693
return $name;

src/Shell/QueueShell.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public function getOptionParser() {
387387
];
388388

389389
return parent::getOptionParser()
390-
->description($this->_getDescription())
390+
->setDescription($this->_getDescription())
391391
->addSubcommand('clean', [
392392
'help' => 'Remove old jobs (cleanup)',
393393
'parser' => $subcommandParser,

0 commit comments

Comments
 (0)