We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7319c4 commit a832ecfCopy full SHA for a832ecf
1 file changed
src/Model/TemplateEngine/Decorator/InspectorHintsFactory.php
@@ -11,6 +11,9 @@
11
*/
12
class InspectorHintsFactory
13
{
14
+ /**
15
+ * @param ObjectManagerInterface $objectManager
16
+ */
17
public function __construct(
18
private readonly ObjectManagerInterface $objectManager
19
) {
@@ -19,11 +22,13 @@ public function __construct(
22
/**
20
23
* Create InspectorHints instance
21
24
*
- * @param array $data
25
+ * @param array<string, mixed> $data
26
* @return InspectorHints
27
28
public function create(array $data = []): InspectorHints
29
- return $this->objectManager->create(InspectorHints::class, $data);
30
+ /** @var InspectorHints $instance */
31
+ $instance = $this->objectManager->create(InspectorHints::class, $data);
32
+ return $instance;
33
}
34
0 commit comments