diff options
author | Hugues Peccatte <hugues.peccatte@gmail.com> | 2019-01-12 03:33:22 +0300 |
---|---|---|
committer | Hugues Peccatte <hugues.peccatte@gmail.com> | 2019-01-12 03:33:22 +0300 |
commit | 68b88d0537967394bd375bc4ff3b63819e136a7f (patch) | |
tree | c9cb61b4768ac68c184684de4e9c105e02268f20 /examples | |
parent | dd74c497d9a3c209807dcd8db4206b63f7d504a3 (diff) |
Remove useless variables before return
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/signon-script.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/signon-script.php b/examples/signon-script.php index 202dca8c05..175c7f7869 100644 --- a/examples/signon-script.php +++ b/examples/signon-script.php @@ -32,10 +32,8 @@ function get_login_credentials($user) } /* Here we would retrieve the credentials */ - $credentials = [ + return [ 'root', '', ]; - - return $credentials; } |