mirror of
https://github.com/predis/predis.git
synced 2026-10-13 15:28:20 +00:00
[tests] Start improving test suite.
- Make use of more typehints for function parameters - Make use of typehints for function return values - Use @var where needed to give proper hints to IDEs and avoid warnings - Replace MockObject::setMethods() with addMethods() and onlyMethods() - Rewording of some phpdocs
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
|
||||
namespace Predis\Transaction;
|
||||
|
||||
use Predis\Client;
|
||||
use PredisTestCase;
|
||||
use Predis\Client;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -22,7 +22,7 @@ class AbortedMultiExecExceptionTest extends PredisTestCase
|
||||
/**
|
||||
* @group disconnected
|
||||
*/
|
||||
public function testExceptionClass()
|
||||
public function testExceptionClass(): void
|
||||
{
|
||||
$client = new Client();
|
||||
$transaction = new MultiExec($client);
|
||||
|
||||
Reference in New Issue
Block a user