Skip to content

Commit 384c54d

Browse files
committed
Fix codesniffer issues
1 parent db62196 commit 384c54d

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

src/Controller/LoginController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class LoginController
4040

4141

4242
/** @var string[] */
43-
private const DEBUG_MODES = ['true', 'samlValidate'];
43+
private const array DEBUG_MODES = ['true', 'samlValidate'];
4444

4545

4646
/** @var \SimpleSAML\Logger */

src/Controller/LogoutController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class LogoutController
4444

4545
/** @var \SimpleSAML\Module\casserver\Cas\Ticket\TicketStore */
4646
protected TicketStore $ticketStore;
47+
4748
private ServiceValidator $serviceValidator;
4849

4950

src/Shib13/AuthnResponse.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@
2828
*/
2929
class AuthnResponse
3030
{
31-
/** @var string */
32-
public const SHIB_PROTOCOL_NS = 'urn:oasis:names:tc:SAML:1.0:protocol';
31+
public const string SHIB_PROTOCOL_NS = 'urn:oasis:names:tc:SAML:1.0:protocol';
3332

34-
/** @var string */
35-
public const SHIB_ASSERT_NS = 'urn:oasis:names:tc:SAML:1.0:assertion';
33+
public const string SHIB_ASSERT_NS = 'urn:oasis:names:tc:SAML:1.0:assertion';
3634

3735

3836
/**

tests/src/Controller/LogoutControllerTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,11 @@ public function testTicketIdGetsDeletedOnLogout(): void
281281

282282
/**
283283
* Validates common things in the logout response
284-
* @param Response $response The response from logout
284+
*
285+
* @param \Symfony\Component\HttpFoundation\Response $response The response from logout
285286
* @param string|null $redirectUrl The intended redirect url
286287
* @param bool $isShowPage If a logout page should be shown with a link to the url
288+
*
287289
* @return void
288290
*/
289291
public function validateLogoutResponse(

0 commit comments

Comments
 (0)