diff --git a/lib/config.php b/lib/config.php
index c01cb4e152f1704a6695d0a153a32c63e42cb297..b03302ef09d640df4e0e2fa96ad3facc73357d3d 100644
--- a/lib/config.php
+++ b/lib/config.php
@@ -49,6 +49,9 @@ class Config {
 
 	protected $debugMode;
 
+	/**
+	 * @param $configDir path to the config dir, needs to end with '/'
+	 */
 	public function __construct($configDir) {
 		$this->configDir = $configDir;
 		$this->configFilename = $this->configDir.'config.php';