diff --git a/src/Agent.php b/src/Agent.php index 787eaed..0d13031 100644 --- a/src/Agent.php +++ b/src/Agent.php @@ -320,7 +320,6 @@ public function version($propertyName, $type = self::VERSION_TYPE_STRING) $properties[$propertyName] = (array) $properties[$propertyName]; foreach ($properties[$propertyName] as $propertyMatchString) { - $propertyPattern = str_replace('[VER]', self::VER, $propertyMatchString); // Identify and extract the version. @@ -331,9 +330,7 @@ public function version($propertyName, $type = self::VERSION_TYPE_STRING) return $version; } - } - } return false;