File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6565 no_php_open_tag_in_code_block_php_directive : ~
6666# no_php_prefix_before_bin_console: ~
6767# no_php_prefix_before_composer: ~
68- no_space_before_self_xml_closing_tag : ~
68+ # no_space_before_self_xml_closing_tag: ~
6969 only_backslashes_in_namespace_in_php_code_block : ~
7070 only_backslashes_in_use_statements_in_php_code_block : ~
7171 ordered_use_statements : ~
Original file line number Diff line number Diff line change @@ -855,7 +855,7 @@ Twig Components come with an HTML-like syntax to ease the readability of your te
855855
856856 <twig:Alert></twig:Alert>
857857 // or use a self-closing tag
858- <twig:Alert/>
858+ <twig:Alert />
859859
860860Passing Props as HTML Attributes
861861~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -882,13 +882,13 @@ normal ``{{ }}`` syntax:
882882
883883.. code-block :: html+twig
884884
885- <twig:Alert message="hello!" :user="user.id"/>
885+ <twig:Alert message="hello!" :user="user.id" />
886886
887887 // equal to
888- <twig:Alert message="hello!" user="{{ user.id }}"/>
888+ <twig:Alert message="hello!" user="{{ user.id }}" />
889889
890890 // and pass object, or table, or anything you imagine
891- <twig:Alert : foo="['col' => ['foo', 'oof']]"/>
891+ <twig:Alert : foo="['col' => ['foo', 'oof']]" />
892892
893893Passing Blocks to your Component
894894~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments