@@ -12,6 +12,6 @@ |
||
12 | 12 | */ |
13 | 13 | public function __construct($json, string $field) |
14 | 14 | { |
15 | - parent::__construct('"' . json_encode($json) . '" is not an encoded PSR-7 uploaded file, field "' . $field . '" is missing'); |
|
15 | + parent::__construct('"'.json_encode($json).'" is not an encoded PSR-7 uploaded file, field "'.$field.'" is missing'); |
|
16 | 16 | } |
17 | 17 | } |
@@ -12,6 +12,6 @@ |
||
12 | 12 | */ |
13 | 13 | public function __construct($json, string $field) |
14 | 14 | { |
15 | - parent::__construct('"' . json_encode($json) . '" is not an encoded PSR-7 server request, field "' . $field . '" is missing'); |
|
15 | + parent::__construct('"'.json_encode($json).'" is not an encoded PSR-7 server request, field "'.$field.'" is missing'); |
|
16 | 16 | } |
17 | 17 | } |
@@ -12,6 +12,6 @@ |
||
12 | 12 | */ |
13 | 13 | public function __construct($json, string $field) |
14 | 14 | { |
15 | - parent::__construct('"' . json_encode($json) . '" is not an encoded PSR-7 request, field "' . $field . '" is missing'); |
|
15 | + parent::__construct('"'.json_encode($json).'" is not an encoded PSR-7 request, field "'.$field.'" is missing'); |
|
16 | 16 | } |
17 | 17 | } |
@@ -12,6 +12,6 @@ |
||
12 | 12 | */ |
13 | 13 | public function __construct($json, string $field) |
14 | 14 | { |
15 | - parent::__construct('"' . json_encode($json) . '" is not an encoded PSR-7 response, field "' . $field . '" is missing'); |
|
15 | + parent::__construct('"'.json_encode($json).'" is not an encoded PSR-7 response, field "'.$field.'" is missing'); |
|
16 | 16 | } |
17 | 17 | } |
@@ -4,6 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use function function_exists; |
6 | 6 | |
7 | -if (! function_exists('WyriHaximus\psr7_response_json_encode')) { |
|
8 | - require __DIR__ . '/functions.php'; |
|
7 | +if (!function_exists('WyriHaximus\psr7_response_json_encode')) { |
|
8 | + require __DIR__.'/functions.php'; |
|
9 | 9 | } |