@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | * |
| 25 | 25 | * @package UserAPI |
| 26 | 26 | */ |
| 27 | -require dirname(dirname(dirname(__FILE__))) . "/config/_config.php"; |
|
| 27 | +require dirname(dirname(dirname(__FILE__)))."/config/_config.php"; |
|
| 28 | 28 | $API = new \core\UserNetAPI(); |
| 29 | 29 | $validator = new web\lib\common\InputValidation(); |
| 30 | 30 | $loggerInstance = new \core\common\Logging(); |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | exit; |
| 101 | 101 | } |
| 102 | 102 | // this was int-validated, so we can be sure it is an integer |
| 103 | - $API->jsonListProfiles($idp, (int)$sort); |
|
| 103 | + $API->jsonListProfiles($idp, (int) $sort); |
|
| 104 | 104 | break; |
| 105 | 105 | case 'listDevices': |
| 106 | 106 | if ($profile === FALSE) { |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | $height = 40; |
| 151 | 151 | } |
| 152 | 152 | // those two were int-validated, cast to let SC know |
| 153 | - $API->sendLogo($idp, "idp", (int)$width, (int)$height); |
|
| 153 | + $API->sendLogo($idp, "idp", (int) $width, (int) $height); |
|
| 154 | 154 | break; |
| 155 | 155 | case 'sendFedLogo': // needs $federation |
| 156 | 156 | if ($federation === FALSE) { |