Skip to content
Snippets Groups Projects
Commit 94ee87b1 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Fix a PSR-2 compliance issue.

parent 8d2ec829
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ class TestController ...@@ -59,7 +59,7 @@ class TestController
$authsource = new \SimpleSAML\Auth\Simple($as); $authsource = new \SimpleSAML\Auth\Simple($as);
if (!is_null($request->query->get('logout'))) { if (!is_null($request->query->get('logout'))) {
$authsource->logout($this->config->getBasePath().'logout.php'); $authsource->logout($this->config->getBasePath().'logout.php');
} else if (!is_null($request->query->get(\SimpleSAML\Auth\State::EXCEPTION_PARAM))) { } elseif (!is_null($request->query->get(\SimpleSAML\Auth\State::EXCEPTION_PARAM))) {
// This is just a simple example of an error // This is just a simple example of an error
$state = \SimpleSAML\Auth\State::loadExceptionState(); $state = \SimpleSAML\Auth\State::loadExceptionState();
assert(array_key_exists(\SimpleSAML\Auth\State::EXCEPTION_DATA, $state)); assert(array_key_exists(\SimpleSAML\Auth\State::EXCEPTION_DATA, $state));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment