Skip to content

Commit 1f80d15

Browse files
authored
[TASK] Update codesnippets (#5968)
Releases: main
1 parent 8aa01d3 commit 1f80d15

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Documentation/CodeSnippets/Events/Backend/ModifyClearCacheActionsEvent.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
:param $cacheActions: the cacheActions
1515

1616
.. php:method:: getCacheActions()
17-
:returns: `array`
17+
:returns: `list<\CacheAction>`
1818

1919
.. php:method:: addCacheActionIdentifier(string $cacheActionIdentifier)
2020
@@ -25,4 +25,4 @@
2525
:param $cacheActionIdentifiers: the cacheActionIdentifiers
2626

2727
.. php:method:: getCacheActionIdentifiers()
28-
:returns: `array`
28+
:returns: `list<non-empty-string>`

Documentation/CodeSnippets/Manual/Country/CountryProvider.rst.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
.. php:method:: getByIsoCode(string $isoCode)
1414
:returns: `?\TYPO3\CMS\Core\Country\Country`
1515

16+
Searches for a matching country with fallback; uses Alpha2 ISO-Code by
17+
default, and if that does not match, compare the input $isoCode
18+
as an Alpha3 ISO-Code.
19+
1620
:param $isoCode: the isoCode
1721

1822
.. php:method:: getByAlpha2IsoCode(string $isoCode)

0 commit comments

Comments
 (0)