Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2016-12-13 13:14:54 +00:00
committed by StyleCI Bot
parent 857d3004eb
commit 88f3df2180
161 changed files with 4729 additions and 3879 deletions

View File

@@ -29,10 +29,11 @@ class RegisterRequest extends Request
*/
public function rules()
{
$check = $this->check(new CommonSettings);
$check = $this->check(new CommonSettings());
if ($check != 0) {
return $check;
}
return [
'email' => 'required|max:50|email|unique:users',
'full_name' => 'required',
@@ -43,9 +44,12 @@ class RegisterRequest extends Request
/**
*@category Funcion to set rule if send opt is enabled
*@param Object $settings (instance of Model common settings)
*
*@param object $settings (instance of Model common settings)
*
*@author manish.verma@ladybirdweb.com
*@return array|int
*
*@return array|int
*/
public function check($settings)
{