diff --git a/src/LiveComponent/doc/index.rst b/src/LiveComponent/doc/index.rst index d858a42dc3b..741b45a0e58 100644 --- a/src/LiveComponent/doc/index.rst +++ b/src/LiveComponent/doc/index.rst @@ -474,6 +474,13 @@ can read:: /** @var Product[] */ public $products = []; +Collection type extraction from the docblock requires the ``phpdocumentor/reflection-docblock`` +library. Make sure it is installed in you application: + +.. code-block:: terminal + + $ composer require phpdocumentor/reflection-docblock + Writable Object Properties or Array Keys ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~