diff options
author | Simon Rettberg | 2022-05-23 14:41:33 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-05-23 14:41:33 +0200 |
commit | 9122ed1bdee76f0ef37fb5996d25656083b7a4a6 (patch) | |
tree | 0edbe18e60d0f4ad44d711ddf147b25928293f11 /modules-available/locationinfo/inc/icalcoursebackend.inc.php | |
parent | [rebootcontrol] Force type of ByRef param to array (diff) | |
download | slx-admin-9122ed1bdee76f0ef37fb5996d25656083b7a4a6.tar.gz slx-admin-9122ed1bdee76f0ef37fb5996d25656083b7a4a6.tar.xz slx-admin-9122ed1bdee76f0ef37fb5996d25656083b7a4a6.zip |
[locationinfo] Add types
Diffstat (limited to 'modules-available/locationinfo/inc/icalcoursebackend.inc.php')
-rw-r--r-- | modules-available/locationinfo/inc/icalcoursebackend.inc.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules-available/locationinfo/inc/icalcoursebackend.inc.php b/modules-available/locationinfo/inc/icalcoursebackend.inc.php index c1791919..50f1881a 100644 --- a/modules-available/locationinfo/inc/icalcoursebackend.inc.php +++ b/modules-available/locationinfo/inc/icalcoursebackend.inc.php @@ -28,8 +28,9 @@ abstract class ICalCourseBackend extends CourseBackend * @param string $user * @param string $pass */ - protected function init($location, $verifyCert, $verifyHostname, - $authMethod = 'NONE', $user = '', $pass = '') + protected function init( + string $location, bool $verifyCert, bool $verifyHostname, + string $authMethod = 'NONE', string $user = '', string $pass = '') { $this->verifyCert = $verifyCert; $this->verifyHostname = $verifyHostname; @@ -92,7 +93,7 @@ abstract class ICalCourseBackend extends CourseBackend return $ical->events(); } - public function fetchSchedulesInternal($requestedRoomIds): array + public function fetchSchedulesInternal(array $requestedRoomIds): array { if (empty($requestedRoomIds) || !$this->isOK()) { return array(); |