From 4ffb5054c22137c5d114351ebf32c525ec63a4b6 Mon Sep 17 00:00:00 2001 From: Timm Friebe Date: Fri, 29 Mar 2024 11:22:42 +0100 Subject: [PATCH] Fix missing semicolon, consistently use trailing commas --- src/main/php/web/auth/cas/CasFlow.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/php/web/auth/cas/CasFlow.class.php b/src/main/php/web/auth/cas/CasFlow.class.php index b226a84..8b0c249 100755 --- a/src/main/php/web/auth/cas/CasFlow.class.php +++ b/src/main/php/web/auth/cas/CasFlow.class.php @@ -93,10 +93,10 @@ public function authenticate($request, $response, $session) { $self+= yield new ValueOf([], ['*' => function(&$self, $name) { $self[str_replace('cas:', '', $name)]= yield; }]); - } - ]) + }, + ]); }, - '*' => function(&$self, $name) { $self[$name]= yield; } + '*' => function(&$self, $name) { $self[$name]= yield; }, ])); } catch (Throwable $e) { throw new Error(500, 'UNEXPECTED: Streaming error', $e);