diff options
Diffstat (limited to 'private/View')
| -rw-r--r-- | private/View/Output.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/private/View/Output.php b/private/View/Output.php index 8773e42..af9975e 100644 --- a/private/View/Output.php +++ b/private/View/Output.php @@ -15,11 +15,10 @@ class Output * Formats the result into JSON. * * @param Model\Result $result The result to return to the client. - * @param bool $prepare Whether to set the content type of the response (default true). * * @return string */ - public static function json (Model\Result $result, bool $prepare = true): string + public static function json (Model\Result $result): string { return json_encode(array( "Result-Type" => $result->getResultType(), |
