Skip to content

Commit 88cb780

Browse files
committed
Fix trivial static analysis errors
1 parent 4935cd0 commit 88cb780

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

src/Auth/WebSSOAuthentication.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
use Northwestern\SysDev\SOA\Auth\Strategy\NoSsoSession;
1919
use Northwestern\SysDev\SOA\Auth\Strategy\WebSSOStrategy;
2020

21+
/**
22+
* @phpstan-ignore trait.unused
23+
*/
2124
trait WebSSOAuthentication
2225
{
2326
use RedirectsUsers, WebSSORoutes;

src/Auth/WebSSORoutes.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
namespace Northwestern\SysDev\SOA\Auth;
44

5+
/**
6+
* @phpstan-ignore trait.unused
7+
*/
58
trait WebSSORoutes
69
{
710
/** Route name for your login page */

src/Console/Commands/MakeWebSSO.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ class MakeWebSSO extends GeneratorCommand
1212

1313
protected $type = 'Controller';
1414

15-
public function handle()
15+
public function handle(): ?bool
1616
{
1717
parent::handle();
1818

1919
$this->ejectRoutes();
20+
21+
return true;
2022
}
2123

2224
protected function getNameInput()

0 commit comments

Comments
 (0)