@@ -82,7 +82,7 @@ |
||
82 | 82 | $contentType = isset($_SERVER['CONTENT_TYPE']) |
83 | 83 | ? trim($_SERVER['CONTENT_TYPE']) |
84 | 84 | : ''; |
85 | - if (strcasecmp($contentType, 'application/json') !=0 ) { |
|
85 | + if (strcasecmp($contentType, 'application/json') != 0) { |
|
86 | 86 | throw new Exception('Content type must be: application/json'); |
87 | 87 | } |
88 | 88 | $jsonRequest = trim(file_get_contents('php://input')); |