1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-06-11 00:03:15 +02:00

Docblocks, first pass with Psalm.

This commit is contained in:
Anthony Birkett
2021-05-30 10:47:59 +01:00
parent e62d011689
commit b5d355514b
11 changed files with 424 additions and 70 deletions
+6 -8
View File
@@ -39,7 +39,7 @@ $Timer = number_format(microtime(true) - $Timer, 4, '.', '');
?>
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Source Query PHP Library</title>
@@ -111,14 +111,12 @@ $Timer = number_format(microtime(true) - $Timer, 4, '.', '');
echo "<pre>";
print_r($InfoValue);
echo "</pre>";
} elseif ($InfoValue === true) {
echo 'true';
} elseif ($InfoValue === false) {
echo 'false';
} else {
if ($InfoValue === true) {
echo 'true';
} elseif ($InfoValue === false) {
echo 'false';
} else {
echo htmlspecialchars($InfoValue);
}
echo htmlspecialchars($InfoValue);
}
?></td>
</tr>