Merge pull request #1352 from laravie/patch/code-standard
[Code Standard] Slight improvement to use of tab over space and curly bracket
This commit is contained in:
@@ -85,7 +85,7 @@ return array(
|
||||
'password' => '',
|
||||
'charset' => 'utf8',
|
||||
'prefix' => '',
|
||||
'schema' => 'public',
|
||||
'schema' => 'public',
|
||||
),
|
||||
|
||||
'sqlsrv' => array(
|
||||
|
||||
@@ -128,7 +128,7 @@ abstract class Driver {
|
||||
|
||||
Session::forget($this->token());
|
||||
|
||||
$this->token = null;
|
||||
$this->token = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -457,7 +457,8 @@ abstract class Model {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function touch(){
|
||||
public function touch()
|
||||
{
|
||||
$this->timestamp();
|
||||
$this->save();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user