From 7db7e178afd5eab7aa42d58941321e8f12f38aed Mon Sep 17 00:00:00 2001
From: Eric Bremner <ebremner@uwaterloo.ca>
Date: Tue, 20 Sep 2022 09:36:54 -0400
Subject: [PATCH] ISTWCMS-5804: coding standards

---
 src/Service/UWService.php          | 2 +-
 src/Service/UWServiceInterface.php | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Service/UWService.php b/src/Service/UWService.php
index c3bb55d1..f5d1bfc9 100644
--- a/src/Service/UWService.php
+++ b/src/Service/UWService.php
@@ -603,7 +603,7 @@ class UWService implements UWServiceInterface {
     $headers = @get_headers($url);
 
     // Use condition to check if there is no URL.
-    if($headers && strpos( $headers[0], '404')) {
+    if($headers && strpos($headers[0], '404')) {
       return FALSE;
     }
 
diff --git a/src/Service/UWServiceInterface.php b/src/Service/UWServiceInterface.php
index 261e1d36..b8eaee27 100644
--- a/src/Service/UWServiceInterface.php
+++ b/src/Service/UWServiceInterface.php
@@ -221,4 +221,5 @@ interface UWServiceInterface {
    *   Whether url is valid or not.
    */
   public function validExternalUrl(string $url): bool;
+
 }
-- 
GitLab