From fdc4f813b1ac8abf46ac7692eb44341e9cdb3989 Mon Sep 17 00:00:00 2001 From: ebremner <ebremner@uwaterloo.ca> Date: Fri, 26 Feb 2021 13:14:15 -0500 Subject: [PATCH] ISTWCMS-4653: coding standards --- src/Service/UWService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/UWService.php b/src/Service/UWService.php index 5ff140b2..cb0d6fcf 100644 --- a/src/Service/UWService.php +++ b/src/Service/UWService.php @@ -315,7 +315,7 @@ class UWService implements UWServiceInterface { $path = $this->pathAliasManager->getPathByAlias('/' . $alias); // Check if it is a node path and if so check if published. - if(preg_match('/node\/(\d+)/', $path, $matches)) { + if (preg_match('/node\/(\d+)/', $path, $matches)) { // Load in the node based on the path. $node = $this->entityTypeManager->getStorage('node')->load($matches[1]); -- GitLab