Skip to content

Commit

Permalink
[TwigComponent] Add notice about needing `phpdocumentor/reflection-do…
Browse files Browse the repository at this point in the history
…cblock`
  • Loading branch information
dejagersh authored and smnandre committed Sep 3, 2024
1 parent 211ee5b commit 746025a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/LiveComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 746025a

Please sign in to comment.