Skip to content

Commit 1a4b10d

Browse files
committed
ci: fix psalm error
1 parent 073d68f commit 1a4b10d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Connection/Pheanstalk/PheanstalkConnection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
// Support for Pheanstalk 3
2424
if (!interface_exists(PheanstalkInterface::class)) {
25+
/** @psalm-suppress UndefinedClass */
2526
class_alias(\Pheanstalk\PheanstalkInterface::class, PheanstalkInterface::class);
2627
}
2728

@@ -98,6 +99,7 @@ public function pheanstalk(): PheanstalkInterface
9899
$this->pheanstalk = Pheanstalk::create($host, (int) $port, (int) ($this->config['client-timeout'] ?? 10));
99100
} else {
100101
// Pheanstalk 3
102+
/** @psalm-suppress InvalidArgument */
101103
$this->pheanstalk = new Pheanstalk($host, $port, $this->config['client-timeout']);
102104
}
103105
break;

0 commit comments

Comments
 (0)