fix formatting

This commit is contained in:
Antonio Ramirez
2016-12-14 02:50:12 +01:00
parent f3f4b31bb4
commit 3ba01b4674
140 changed files with 512 additions and 523 deletions

View File

@ -3,11 +3,11 @@
namespace Da\User\Helper;
/**
*
* ModelMapHelper.php
* ModelMapHelper.php.
*
* Date: 3/12/16
* Time: 18:10
*
* @author Antonio Ramirez <hola@2amigos.us>
*/
class ClassMapHelper
@ -37,13 +37,14 @@ class ClassMapHelper
* @param $key
*
* @return mixed
*
* @throws \Exception
*/
public function get($key)
{
if (array_key_exists($key, $this->map)) {
return $this->map[$key];
};
throw new \Exception('Unknown model map key: ' . $key);
}
throw new \Exception('Unknown model map key: '.$key);
}
}