Skip to content

EspoCRM – Open Source CRM Application

CS

Yurii9c8688bb8be1
diff --git a/tests/unit/Espo/ORM/TransactionManagerTest.php b/tests/unit/Espo/ORM/TransactionManagerTest.php
index 6d659fa050..9b2fb69935 100644
--- a/tests/unit/Espo/ORM/TransactionManagerTest.php
+++ b/tests/unit/Espo/ORM/TransactionManagerTest.php
@@ -39,8 +39,8 @@ use RuntimeException;
class TransactionManagerTest extends TestCase
{
- private $pdo;
- private $manager;
+ private ?PDO $pdo = null;
+ private ?TransactionManager $manager = null;
protected function setUp() : void
{
@@ -273,7 +273,7 @@ class TransactionManagerTest extends TestCase
throw new RuntimeException();
}
);
- } catch (RuntimeException $e) {}
+ } catch (RuntimeException) {}
}
public function testDeadlock(): void