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:
@@ -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