summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/openid/lib/Auth/OpenID/KVForm.php')
-rw-r--r--plugins/openid/lib/Auth/OpenID/KVForm.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/openid/lib/Auth/OpenID/KVForm.php b/plugins/openid/lib/Auth/OpenID/KVForm.php
index f7806533..82ead9cf 100644
--- a/plugins/openid/lib/Auth/OpenID/KVForm.php
+++ b/plugins/openid/lib/Auth/OpenID/KVForm.php
@@ -41,7 +41,7 @@ class Auth_OpenID_KVForm {
}
}
- $values = array();
+ $values = [];
for ($lineno = 0; $lineno < count($lines); $lineno++) {
$line = $lines[$lineno];
@@ -94,7 +94,7 @@ class Auth_OpenID_KVForm {
$serialized = '';
foreach ($values as $key => $value) {
if (is_array($value)) {
- list($key, $value) = array($value[0], $value[1]);
+ list($key, $value) = [$value[0], $value[1]];
}
if (strpos($key, ':') !== false) {