Trivial improvement to Laravel, while it is not documented, it has been a standard in Laravel to use tab as indentation and new line for curly bracket
Signed-off-by: crynobone <crynobone@gmail.com>
This commit is contained in:
parent
2e8364994f
commit
fd86aef25a
|
@ -85,7 +85,7 @@
|
||||||
'password' => '',
|
'password' => '',
|
||||||
'charset' => 'utf8',
|
'charset' => 'utf8',
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
'schema' => 'public',
|
'schema' => 'public',
|
||||||
),
|
),
|
||||||
|
|
||||||
'sqlsrv' => array(
|
'sqlsrv' => array(
|
||||||
|
|
|
@ -128,7 +128,7 @@ public function logout()
|
||||||
|
|
||||||
Session::forget($this->token());
|
Session::forget($this->token());
|
||||||
|
|
||||||
$this->token = null;
|
$this->token = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -457,7 +457,8 @@ public function timestamp()
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function touch(){
|
public function touch()
|
||||||
|
{
|
||||||
$this->timestamp();
|
$this->timestamp();
|
||||||
$this->save();
|
$this->save();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue