@@ -18,8 +18,6 @@ |
||
18 | 18 | * __construct |
19 | 19 | * |
20 | 20 | * @param string $command |
21 | - * @param array $output |
|
22 | - * @param int $result |
|
23 | 21 | * @param string $password |
24 | 22 | * @access public |
25 | 23 | * @return void |
@@ -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')); |