summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML
diff options
context:
space:
mode:
authorJaime Pérez <jaime.perez@uninett.no>2016-07-04 15:34:31 +0200
committerJaime Pérez <jaime.perez@uninett.no>2016-07-04 15:34:31 +0200
commit464cd14722561d9bcc3ca5a3e8ceeb47f90c637f (patch)
treed38a979def0d3e9207682c1cd17b86429609cabc /lib/SimpleSAML
parent84d9aacc840ec77b9530a21b9c833242aa0bdbf3 (diff)
downloadsimplesamlphp-464cd14722561d9bcc3ca5a3e8ceeb47f90c637f.zip
simplesamlphp-464cd14722561d9bcc3ca5a3e8ceeb47f90c637f.tar.gz
simplesamlphp-464cd14722561d9bcc3ca5a3e8ceeb47f90c637f.tar.bz2
phpdoc: Add missing @throws to a couple of methods in SimpleSAML_Session.
Diffstat (limited to 'lib/SimpleSAML')
-rw-r--r--lib/SimpleSAML/Session.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/SimpleSAML/Session.php b/lib/SimpleSAML/Session.php
index 5bd89de..6d325d9 100644
--- a/lib/SimpleSAML/Session.php
+++ b/lib/SimpleSAML/Session.php
@@ -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
* 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)
{
@@ -517,6 +519,8 @@ class SimpleSAML_Session
*
* @param string $authority The authority the user logged in with.
* @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)
{