Skip to content

Commit ac00093

Browse files
committed
fix type in getCompareForIf
1 parent 2cda6b7 commit ac00093

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,10 +553,10 @@ protected function validateStatus($status)
553553

554554
/**
555555
* @param string $key
556-
* @param string $compareValue
556+
* @param string|bool $compareValue
557557
* @return Compare
558558
*/
559-
protected function getCompareForIf(string $key, string $compareValue): Compare
559+
protected function getCompareForIf(string $key, $compareValue): Compare
560560
{
561561
if ($compareValue === false) {
562562
$compare = $this->getCompare($key, '0', CompareResult::EQUAL, CompareTarget::VERSION);

0 commit comments

Comments
 (0)