Skip to content

Commit fe7e2e4

Browse files
authored
Merge pull request #7452 from ping-yee/docs-replace-format
docs: fix PHPDoc types in `Format` class.
2 parents a43018a + 9c3bf38 commit fe7e2e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

system/Format/JSONFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class JSONFormatter implements FormatterInterface
2222
/**
2323
* Takes the given data and formats it.
2424
*
25-
* @param mixed $data
25+
* @param array|bool|float|int|object|string|null $data
2626
*
2727
* @return false|string (JSON string | false)
2828
*/

system/Format/XMLFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class XMLFormatter implements FormatterInterface
2323
/**
2424
* Takes the given data and formats it.
2525
*
26-
* @param mixed $data
26+
* @param array|bool|float|int|object|string|null $data
2727
*
2828
* @return false|string (XML string | false)
2929
*/

0 commit comments

Comments
 (0)