Skip to content

Commit c1b51bd

Browse files
authored
Update JSONFormatter.php
1 parent 89a4655 commit c1b51bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/Format/JSONFormatter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ class JSONFormatter implements FormatterInterface
5151
*
5252
* @param $data
5353
*
54-
* @return mixed
54+
* @return string|bool (JSON string | false)
5555
*/
56-
public function format($data) : ?string
56+
public function format($data)
5757
{
5858
$options = JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES;
5959

0 commit comments

Comments
 (0)