Skip to content
Snippets Groups Projects
Commit 7db7e178 authored by Eric Bremner's avatar Eric Bremner Committed by Igor Biki
Browse files

ISTWCMS-5804: coding standards

parent 2cc6da73
No related branches found
No related tags found
1 merge request!271Feature/istwcms 5804 ebremner site logo fixes
...@@ -603,7 +603,7 @@ class UWService implements UWServiceInterface { ...@@ -603,7 +603,7 @@ class UWService implements UWServiceInterface {
$headers = @get_headers($url); $headers = @get_headers($url);
// Use condition to check if there is no URL. // Use condition to check if there is no URL.
if($headers && strpos( $headers[0], '404')) { if($headers && strpos($headers[0], '404')) {
return FALSE; return FALSE;
} }
......
...@@ -221,4 +221,5 @@ interface UWServiceInterface { ...@@ -221,4 +221,5 @@ interface UWServiceInterface {
* Whether url is valid or not. * Whether url is valid or not.
*/ */
public function validExternalUrl(string $url): bool; public function validExternalUrl(string $url): bool;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment