1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 16:06:15 +00:00

Little PHPDoc

This commit is contained in:
Loic Blot 2016-05-19 08:08:10 +02:00
parent f05d5562b8
commit 4fc1a91a39

View File

@ -35,6 +35,10 @@ class ConfigMapper extends Mapper {
$this->crypto = $crypto;
}
/**
* @param $key
* @param $value
*/
public function set ($key, $value){
$value = $this->crypto->encrypt($value);
if($this->hasKey($key, $value)){