diff --git a/src/Service/UWService.php b/src/Service/UWService.php index f379d72986b36506458f218c81c9f922a152a317..e476b8b0c22b849869442fc8cb69b6ea93b3ff13 100644 --- a/src/Service/UWService.php +++ b/src/Service/UWService.php @@ -68,7 +68,7 @@ class UWService implements UWServiceInterface { * The simplify_menu menu items. * @param \Drupal\path_alias\AliasManager $pathAliasManager * The Drupal path alias manager. - * @parm \Symfony\Component\HttpFoundation\RequestStack $requestStack + * @param \Symfony\Component\HttpFoundation\RequestStack $requestStack * The request stack. */ public function __construct(EntityTypeManagerInterface $entityTypeManager, Connection $database, MenuItems $simplifyMenu, AliasManager $pathAliasManager, RequestStack $requestStack) { @@ -663,7 +663,8 @@ class UWService implements UWServiceInterface { if ($date['duration'] < '1439') { $start_date = date('l, F j, Y g:i A', $date['value']); $end_date = date('g:i A', $date['end_value']); - } // This is not the day, get the start and end date with time. + } + // This is not the day, get the start and end date with time. else { $start_date = date('l, F j, Y g:i A', $date['value']); $end_date = date('l, F j, Y g:i A', $date['end_value']);