Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit abb6b14

Browse files
authored
Return error and shouldRetry as per docblock
1 parent f1541b8 commit abb6b14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/mocks/MockTopicResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function setError($error)
7979
*/
8080
public function error()
8181
{
82-
$this->error;
82+
return $this->error;
8383
}
8484

8585
/**
@@ -89,6 +89,6 @@ public function error()
8989
*/
9090
public function shouldRetry()
9191
{
92-
$this->error;
92+
return (bool) $this->error;
9393
}
9494
}

0 commit comments

Comments
 (0)