@@ -79,7 +79,7 @@ final class StandardTagFactory implements TagFactory
7979 * @var array<class-string<Tag>|Factory> An array with a tag as a key, and an
8080 * FQCN to a class that handles it as an array value.
8181 */
82- private $ tagHandlerMappings = [
82+ private array $ tagHandlerMappings = [
8383 'author ' => Author::class,
8484 'covers ' => Covers::class,
8585 'deprecated ' => Deprecated::class,
@@ -105,22 +105,21 @@ final class StandardTagFactory implements TagFactory
105105 * @var array<class-string<Tag>> An array with a anotation s a key, and an
106106 * FQCN to a class that handles it as an array value.
107107 */
108- private $ annotationMappings = [];
108+ private array $ annotationMappings = [];
109109
110110 /**
111111 * @var ReflectionParameter[][] a lazy-loading cache containing parameters
112112 * for each tagHandler that has been used.
113113 */
114- private $ tagHandlerParameterCache = [];
114+ private array $ tagHandlerParameterCache = [];
115115
116- /** @var FqsenResolver */
117- private $ fqsenResolver ;
116+ private FqsenResolver $ fqsenResolver ;
118117
119118 /**
120119 * @var mixed[] an array representing a simple Service Locator where we can store parameters and
121120 * services that can be inserted into the Factory Methods of Tag Handlers.
122121 */
123- private $ serviceLocator = [];
122+ private array $ serviceLocator = [];
124123
125124 /**
126125 * Initialize this tag factory with the means to resolve an FQSEN and optionally a list of tag handlers.
0 commit comments