Add PHPDoc for magically readable properties

This commit is contained in:
Sebastian Meyer 2023-11-21 23:40:24 +01:00
parent f27b88d01f
commit c7a615143e
3 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,8 @@ use OCC\Basics\Traits\Getter;
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com> * @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
* @package opencultureconsulting/basics * @package opencultureconsulting/basics
* *
* @property-read string[] $allowedTypes
*
* @template AllowedType * @template AllowedType
* @extends SplDoublyLinkedList<AllowedType> * @extends SplDoublyLinkedList<AllowedType>
*/ */

View File

@ -30,6 +30,8 @@ use RuntimeException;
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com> * @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
* @package opencultureconsulting/basics * @package opencultureconsulting/basics
* *
* @property-read string[] $allowedTypes
*
* @template AllowedType * @template AllowedType
* @extends StrictList<AllowedType> * @extends StrictList<AllowedType>
*/ */

View File

@ -30,6 +30,8 @@ use RuntimeException;
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com> * @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
* @package opencultureconsulting/basics * @package opencultureconsulting/basics
* *
* @property-read string[] $allowedTypes
*
* @template AllowedType * @template AllowedType
* @extends StrictList<AllowedType> * @extends StrictList<AllowedType>
*/ */