diff --git a/tests/AbstractTestCase.php b/tests/AbstractTestCase.php index a2e3c29..721492f 100644 --- a/tests/AbstractTestCase.php +++ b/tests/AbstractTestCase.php @@ -15,35 +15,17 @@ abstract class AbstractTestCase extends TestCase { - /** - * @var Connection - */ - protected static $connection; + protected static Connection $connection; - /** - * @var Gateway - */ - protected static $gateway; + protected static Gateway $gateway; - /** - * @var DebugLogger - */ - protected static $logger; + protected static DebugLogger $logger; - /** - * @var CountryRepository - */ - protected static $countryRepository; + protected static CountryRepository $countryRepository; - /** - * @var UserRepository - */ - protected static $userRepository; + protected static UserRepository $userRepository; - /** - * @var EventRepository - */ - protected static $eventRepository; + protected static EventRepository $eventRepository; /** * @return bool diff --git a/tests/Resources/Mappings/GeometryMapping.php b/tests/Resources/Mappings/GeometryMapping.php index 2cd77c2..3d6319c 100644 --- a/tests/Resources/Mappings/GeometryMapping.php +++ b/tests/Resources/Mappings/GeometryMapping.php @@ -13,15 +13,9 @@ */ class GeometryMapping implements PropertyMapping { - /** - * @var string - */ - protected $fieldName; + protected string $fieldName; - /** - * @var bool - */ - protected $isNullable; + protected bool $isNullable; /** * @param string $fieldName The field name.