diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2019-01-06 02:56:34 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2019-01-06 02:56:34 +0300 |
commit | 4cee0cbc12528a2c30adcf28eacf4f4674bb0993 (patch) | |
tree | b864c9e13082efafcab7a1ab1b3bce6f17d2b759 /examples | |
parent | 999b4d14f05abd38bd830b2d47fcb82f263a3ce9 (diff) |
Adds space after not (!) and type cast
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/openid.php | 6 | ||||
-rw-r--r-- | examples/signon-script.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/openid.php b/examples/openid.php index ab16f8eb14..e186d78e76 100644 --- a/examples/openid.php +++ b/examples/openid.php @@ -106,7 +106,7 @@ if ($returnTo[strlen($returnTo) - 1] != '/') { $returnTo .= 'openid.php'; /* Display form */ -if (!count($_GET) && !count($_POST) || isset($_GET['phpMyAdmin'])) { +if (! count($_GET) && ! count($_POST) || isset($_GET['phpMyAdmin'])) { /* Show simple form */ $content = '<form action="openid.php" method="post"> OpenID: <input type="text" name="identifier"><br> @@ -148,7 +148,7 @@ if (isset($_POST['start'])) { exit; } else { /* Grab query string */ - if (!count($_POST)) { + if (! count($_POST)) { list(, $queryString) = explode('?', $_SERVER['REQUEST_URI']); } else { // I hate php sometimes @@ -164,7 +164,7 @@ if (isset($_POST['start'])) { $id = $message->get('openid.claimed_id'); - if (!empty($id) && isset($AUTH_MAP[$id])) { + if (! empty($id) && isset($AUTH_MAP[$id])) { $_SESSION['PMA_single_signon_user'] = $AUTH_MAP[$id]['user']; $_SESSION['PMA_single_signon_password'] = $AUTH_MAP[$id]['password']; session_write_close(); diff --git a/examples/signon-script.php b/examples/signon-script.php index fd0aadd459..f32a582413 100644 --- a/examples/signon-script.php +++ b/examples/signon-script.php @@ -24,7 +24,7 @@ declare(strict_types=1); function get_login_credentials($user) { /* Optionally we can use passed username */ - if (!empty($user)) { + if (! empty($user)) { return [$user, 'password']; } |