diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
| commit | a1fda2758e9c241ac3eb980ac8716dfedbe9dd3c (patch) | |
| tree | 2190f0478fb153efdb8ba48ebb574c7691f4f351 /lib/models/resources/Building.class.php | |
| parent | 244d00ed91ad2b4b83e902a45cd6def3d7bc7e86 (diff) | |
let phpcsfixer fix errors according to @PSR12 rules on lib/modelsphpcsfixer
Diffstat (limited to 'lib/models/resources/Building.class.php')
| -rw-r--r-- | lib/models/resources/Building.class.php | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/lib/models/resources/Building.class.php b/lib/models/resources/Building.class.php index f6bb5a1..7e5e7e1 100644 --- a/lib/models/resources/Building.class.php +++ b/lib/models/resources/Building.class.php @@ -167,8 +167,7 @@ class Building extends Resource $action = 'show', $id = null, $link_parameters = [] - ) - { + ) { return URLHelper::getLink( self::buildPathForAction($action, $id), $link_parameters @@ -191,8 +190,7 @@ class Building extends Resource $action = 'show', $id = null, $url_parameters = [] - ) - { + ) { return URLHelper::getURL( self::buildPathForAction($action, $id), $url_parameters @@ -408,8 +406,7 @@ class Building extends Resource $description = '', $internal_comment = '', $booking_type = 0 - ) - { + ) { return null; } @@ -422,8 +419,7 @@ class Building extends Resource $booking_type = 0, $prepend_preparation_time = false, $notify_lecturers = false - ) - { + ) { return null; } @@ -440,8 +436,7 @@ class Building extends Resource $internal_comment = '', $booking_type = 0, $force_booking = false - ) - { + ) { return null; } @@ -451,8 +446,7 @@ class Building extends Resource DateTime $end, $comment = '', $preparation_time = 0 - ) - { + ) { return null; } @@ -462,8 +456,7 @@ class Building extends Resource $comment = '', $properties = [], $preparation_time = 0 - ) - { + ) { return null; } @@ -472,8 +465,7 @@ class Building extends Resource DateTime $begin, DateTime $end, $internal_comment = '' - ) - { + ) { return null; } @@ -481,8 +473,7 @@ class Building extends Resource DateTime $begin, DateTime $end, $excluded_booking_ids = [] - ) - { + ) { return false; } @@ -490,8 +481,7 @@ class Building extends Resource DateTime $begin, DateTime $end, $excluded_reservation_ids = [] - ) - { + ) { return false; } @@ -499,8 +489,7 @@ class Building extends Resource DateTime $begin, DateTime $end, $excluded_lock_ids = [] - ) - { + ) { return true; } @@ -508,8 +497,7 @@ class Building extends Resource DateTime $begin, DateTime $end, $excluded_booking_ids = [] - ) - { + ) { return false; } } |
