Skip to content

Commit 9c3bf38

Browse files
committed
docs: replace type mixed in format class.
1 parent 6c346b6 commit 9c3bf38

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)