diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2019-01-07 19:31:39 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2019-01-07 19:31:39 +0300 |
commit | 23c35798044de9c18811f2623f7133f3dcb33bde (patch) | |
tree | 88f37dce26d1a31e7e8920b3724e618b9f5b158c /examples/signon-script.php | |
parent | 4cee0cbc12528a2c30adcf28eacf4f4674bb0993 (diff) |
Format array declarations
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'examples/signon-script.php')
-rw-r--r-- | examples/signon-script.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/examples/signon-script.php b/examples/signon-script.php index f32a582413..202dca8c05 100644 --- a/examples/signon-script.php +++ b/examples/signon-script.php @@ -25,11 +25,17 @@ function get_login_credentials($user) { /* Optionally we can use passed username */ if (! empty($user)) { - return [$user, 'password']; + return [ + $user, + 'password', + ]; } /* Here we would retrieve the credentials */ - $credentials = ['root', '']; + $credentials = [ + 'root', + '', + ]; return $credentials; } |