Commit fd86aef2 authored by crynobone's avatar crynobone

Trivial improvement to Laravel, while it is not documented, it has been a...

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: 's avatarcrynobone <crynobone@gmail.com>
parent 2e836499
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment