Skip to content
Snippets Groups Projects
Commit 464cd147 authored by Jaime Pérez's avatar Jaime Pérez
Browse files

phpdoc: Add missing @throws to a couple of methods in SimpleSAML_Session.

parent 84d9aacc
No related branches found
No related tags found
No related merge requests found
...@@ -333,6 +333,8 @@ class SimpleSAML_Session ...@@ -333,6 +333,8 @@ class SimpleSAML_Session
* *
* @param Exception|null $exception An exception that made us use a transient session. Specify if you want to log a * @param Exception|null $exception An exception that made us use a transient session. Specify if you want to log a
* message and that exception being thrown after loading the transient session. * message and that exception being thrown after loading the transient session.
*
* @throws * The exception contained in the $exception parameter, if any.
*/ */
public static function useTransientSession($exception = null) public static function useTransientSession($exception = null)
{ {
...@@ -517,6 +519,8 @@ class SimpleSAML_Session ...@@ -517,6 +519,8 @@ class SimpleSAML_Session
* *
* @param string $authority The authority the user logged in with. * @param string $authority The authority the user logged in with.
* @param array|null $data The authentication data for this authority. * @param array|null $data The authentication data for this authority.
*
* @throws \SimpleSAML\Error\CannotSetCookie If the authentication token cannot be set for some reason.
*/ */
public function doLogin($authority, array $data = null) public function doLogin($authority, array $data = null)
{ {
......
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