Skip to content

Commit da45584

Browse files
committed
fix style
1 parent c675fb9 commit da45584

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/lib/UnitySite.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ public static function getGithubKeys($username)
5050
public static function testValidSSHKey($key_str)
5151
{
5252
$key_str = trim($key_str);
53-
if ($key_str == ""){
53+
if ($key_str == "") {
5454
return false;
5555
}
5656
// PHP warning when key_str is digits: Attempt to read property "keys" on int
5757
if (preg_match("/^[0-9]+$/", $key_str)) {
5858
return false;
5959
}
6060
// PHP warning when key_str is JSON: Undefined property: stdClass::$keys
61-
if (!is_null(@json_decode($key_str))){
61+
if (!is_null(@json_decode($key_str))) {
6262
return false;
6363
}
6464
try {

0 commit comments

Comments
 (0)