Skip to content

Commit 9a9bec7

Browse files
committed
phpstan fixes
1 parent 282fd58 commit 9a9bec7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/Github/Exception/SsoRequiredException.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,24 @@
77
*/
88
class SsoRequiredException extends RuntimeException
99
{
10+
/** @var string */
1011
private $url;
1112

13+
/**
14+
* @param string $url
15+
* @param int $code
16+
* @param \Throwable|null $previous
17+
*/
1218
public function __construct($url, $code = 0, $previous = null)
1319
{
1420
$this->url = $url;
1521

1622
parent::__construct('Resource protected by organization SAML enforcement. You must grant your personal token access to this organization.', $code, $previous);
1723
}
1824

25+
/**
26+
* @return string
27+
*/
1928
public function getUrl()
2029
{
2130
return $this->url;

0 commit comments

Comments
 (0)