Skip to content

Commit 6adc0cd

Browse files
committed
fix: Fixed language level deprecations
1 parent 83f97d3 commit 6adc0cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/job-queue/Test/DbalPersistedConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ private function wrapTransactionNestingLevel($method)
136136
$this->setTransactionNestingLevel($this->getPersistedTransactionNestingLevel());
137137

138138
try {
139-
call_user_func(['parent', $method]);
139+
parent::$method();
140140
} catch (\Exception $e) {
141141
}
142142

pkg/redis/PhpRedis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function connect(): void
112112
$this->config['timeout'],
113113
$this->config['persistent'] ? ($this->config['phpredis_persistent_id'] ?? null) : null,
114114
(int) ($this->config['phpredis_retry_interval'] ?? 0),
115-
(float) $this->config['read_write_timeout'] ?? 0
115+
(float) ($this->config['read_write_timeout'] ?? 0)
116116
);
117117

118118
if (false == $result) {

0 commit comments

Comments
 (0)