From e0bb671ea96e8fa4e2782d529704955094beb790 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 27 Feb 2018 13:55:04 -0500
Subject: [PATCH] Improve method signature compatibility. - Fixes PHP 7.2
 support.

---
 .../VuFind/ServiceManager/LowerCaseServiceNameTrait.php    | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/module/VuFind/src/VuFind/ServiceManager/LowerCaseServiceNameTrait.php b/module/VuFind/src/VuFind/ServiceManager/LowerCaseServiceNameTrait.php
index 35f2a2aaff4..f0c7feb75eb 100644
--- a/module/VuFind/src/VuFind/ServiceManager/LowerCaseServiceNameTrait.php
+++ b/module/VuFind/src/VuFind/ServiceManager/LowerCaseServiceNameTrait.php
@@ -43,13 +43,14 @@ trait LowerCaseServiceNameTrait
     /**
      * Retrieve a plugin
      *
-     * @param string $name Name of plugin
+     * @param string     $name    Name of plugin
+     * @param null|array $options Options to use when creating the instance.
      *
      * @return mixed
      */
-    public function get($name)
+    public function get($name, array $options = null)
     {
-        return parent::get($this->getNormalizedServiceName($name));
+        return parent::get($this->getNormalizedServiceName($name), $options);
     }
 
     /**
-- 
GitLab