@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Tomaj\NetteApi\Response; |
4 | 4 | |
5 | -use Nette\Application\Responses\JsonResponse; |
|
6 | 5 | use Nette; |
6 | +use Nette\Application\Responses\JsonResponse; |
|
7 | 7 | |
8 | 8 | class JsonApiResponse extends JsonResponse |
9 | 9 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | * @param string $contentType |
28 | 28 | * @param string $charset |
29 | 29 | */ |
30 | - public function __construct($code, $data, $contentType = 'application/json', $charset ='utf-8') |
|
30 | + public function __construct($code, $data, $contentType = 'application/json', $charset = 'utf-8') |
|
31 | 31 | { |
32 | 32 | parent::__construct($data, $contentType); |
33 | 33 | $this->charset = $charset; |