From c2932eaedb3507b4f5a60e2bf05d486cad48efcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sun, 3 Sep 2023 11:47:07 +0200 Subject: [PATCH] Fix: Add property type declarations --- src/Faker/Container/Container.php | 4 ++-- src/Faker/Container/ContainerBuilder.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Faker/Container/Container.php b/src/Faker/Container/Container.php index 2dd2d974d7..409a7406a0 100644 --- a/src/Faker/Container/Container.php +++ b/src/Faker/Container/Container.php @@ -16,9 +16,9 @@ final class Container implements ContainerInterface /** * @var array */ - private $definitions; + private array $definitions; - private $services = []; + private array $services = []; /** * Create a container object with a set of definitions. The array value MUST diff --git a/src/Faker/Container/ContainerBuilder.php b/src/Faker/Container/ContainerBuilder.php index 3fb335fff5..e5105c9d5c 100644 --- a/src/Faker/Container/ContainerBuilder.php +++ b/src/Faker/Container/ContainerBuilder.php @@ -22,7 +22,7 @@ final class ContainerBuilder /** * @var array */ - private $definitions = []; + private array $definitions = []; /** * @param callable|object|string $value