We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c675fb9 commit da45584Copy full SHA for da45584
resources/lib/UnitySite.php
@@ -50,15 +50,15 @@ public static function getGithubKeys($username)
50
public static function testValidSSHKey($key_str)
51
{
52
$key_str = trim($key_str);
53
- if ($key_str == ""){
+ if ($key_str == "") {
54
return false;
55
}
56
// PHP warning when key_str is digits: Attempt to read property "keys" on int
57
if (preg_match("/^[0-9]+$/", $key_str)) {
58
59
60
// PHP warning when key_str is JSON: Undefined property: stdClass::$keys
61
- if (!is_null(@json_decode($key_str))){
+ if (!is_null(@json_decode($key_str))) {
62
63
64
try {
0 commit comments