Skip to content

Commit

Permalink
Trivial improvement to Laravel, while it is not documented, it has be…
Browse files Browse the repository at this point in the history
…en a standard in Laravel to use tab as indentation and new line for curly bracket

Signed-off-by: crynobone <[email protected]>
  • Loading branch information
crynobone committed Oct 15, 2012
1 parent 2e83649 commit fd86aef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application/config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
'password' => '',
'charset' => 'utf8',
'prefix' => '',
'schema' => 'public',
'schema' => 'public',
),

'sqlsrv' => array(
Expand Down
2 changes: 1 addition & 1 deletion laravel/auth/drivers/driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function logout()

Session::forget($this->token());

$this->token = null;
$this->token = null;
}

/**
Expand Down
3 changes: 2 additions & 1 deletion laravel/database/eloquent/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,8 @@ public function timestamp()
*
* @return void
*/
public function touch(){
public function touch()
{
$this->timestamp();
$this->save();
}
Expand Down

0 comments on commit fd86aef

Please sign in to comment.