From e987c1dea4ce1256bba0c8592616ce063689c60b Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 27 May 2022 18:35:36 +0300 Subject: [PATCH] chore(directives): upd doc for `types` directive --- src/flextype/core/Entries/Directives/TypesDirective.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/core/Entries/Directives/TypesDirective.php b/src/flextype/core/Entries/Directives/TypesDirective.php index 0719ce8a..47619f48 100644 --- a/src/flextype/core/Entries/Directives/TypesDirective.php +++ b/src/flextype/core/Entries/Directives/TypesDirective.php @@ -16,7 +16,7 @@ declare(strict_types=1); use Glowy\Arrays\Arrays as Collection; -// Directive: @type[) +// Directive: @type[] emitter()->addListener('onEntriesFetchSingleField', static function (): void { if (! registry()->get('flextype.settings.entries.directives.types.enabled')) {