File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -468,9 +468,7 @@ Option 1: Using ``@Ignore`` Annotation
468468 https://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd"
469469 >
470470 <class name =" App\Model\MyClass" >
471- <attribute name =" bar" >
472- <ignore >true</ignore >
473- </attribute >
471+ <attribute name =" bar" ignore =" true" />
474472 </class >
475473 </serializer >
476474
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ Methods to Pad and Trim
301301 u('template.html.twig')->trimSuffix('.html'); // 'template.html.twig'
302302 u('template.html.twig')->trimSuffix('.twig'); // 'template.html'
303303 u('template.html.twig')->trimSuffix('.html.twig'); // 'template'
304- // when passing an array of prefix/sufix , only the first one found is trimmed
304+ // when passing an array of prefix/suffix , only the first one found is trimmed
305305 u('file-image-0001.png')->trimPrefix(['file-', 'image-']); // 'image-0001.png'
306306 u('template.html.twig')->trimSuffix(['.twig', '.html']); // 'template.html'
307307
You can’t perform that action at this time.
0 commit comments