From ca2dbcb67fbc746d4a6869544ca99b2973375fdd Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Sun, 13 Jan 2019 11:36:55 +0100 Subject: [PATCH] PHPdoc --- lib/SimpleSAML/Store.php | 2 +- modules/consent/lib/Consent/Store/Database.php | 2 +- modules/consentAdmin/hooks/hook_configpage.php | 2 +- modules/sanitycheck/hooks/hook_configpage.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/SimpleSAML/Store.php b/lib/SimpleSAML/Store.php index 7f227fca2..74e761e49 100644 --- a/lib/SimpleSAML/Store.php +++ b/lib/SimpleSAML/Store.php @@ -16,7 +16,7 @@ abstract class Store implements Utils\ClearableState * * This is false if the data store isn't enabled, and null if we haven't attempted to initialize it. * - * @var \SimpleSAML\Store|false|null + * @var \SimpleSAML\Store|bool|null */ private static $instance; diff --git a/modules/consent/lib/Consent/Store/Database.php b/modules/consent/lib/Consent/Store/Database.php index a68122020..ba1975bc5 100644 --- a/modules/consent/lib/Consent/Store/Database.php +++ b/modules/consent/lib/Consent/Store/Database.php @@ -348,7 +348,7 @@ class Database extends \SimpleSAML\Module\consent\Store * @param string $statement The statement which should be executed. * @param array $parameters Parameters for the statement. * - * @return \PDOStatement|false The statement, or false if execution failed. + * @return \PDOStatement|bool The statement, or false if execution failed. */ private function execute($statement, $parameters) { diff --git a/modules/consentAdmin/hooks/hook_configpage.php b/modules/consentAdmin/hooks/hook_configpage.php index 44ced16f2..2ea75afb1 100644 --- a/modules/consentAdmin/hooks/hook_configpage.php +++ b/modules/consentAdmin/hooks/hook_configpage.php @@ -2,7 +2,7 @@ /** * Hook to add the consentAdmin module to the config page. * - * @param \SimpleSAML\XHTML\Template The template that we should alter in this hook. + * @param \SimpleSAML\XHTML\Template $template The template that we should alter in this hook. */ function consentAdmin_hook_configpage(\SimpleSAML\XHTML\Template &$template) diff --git a/modules/sanitycheck/hooks/hook_configpage.php b/modules/sanitycheck/hooks/hook_configpage.php index cab7fbf1d..a4db0492e 100644 --- a/modules/sanitycheck/hooks/hook_configpage.php +++ b/modules/sanitycheck/hooks/hook_configpage.php @@ -2,7 +2,7 @@ /** * Hook to add the sanitycheck link to the config page. * - * @param \SimpleSAML\XHTML\Template The template that we should alter in this hook. + * @param \SimpleSAML\XHTML\Template $template The template that we should alter in this hook. */ function sanitycheck_hook_configpage(\SimpleSAML\XHTML\Template &$template) { -- GitLab