diff --git a/src/Common/ParametersTrait.php b/src/Common/ParametersTrait.php
index a945d9a3..c4b66c4a 100644
--- a/src/Common/ParametersTrait.php
+++ b/src/Common/ParametersTrait.php
@@ -31,11 +31,14 @@ protected function setParameter($key, $value)
     /**
      * Get one parameter.
      *
+     * @param string $key     The key
+     * @param mixed  $default The default value if the parameter key does not exist
+     *
      * @return mixed A single parameter value.
      */
-    protected function getParameter($key)
+    protected function getParameter($key, $default = null)
     {
-        return $this->parameters->get($key);
+        return $this->parameters->get($key, $default);
     }
 
     /**