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 <[email protected]>
This commit is contained in:
crynobone
2012-10-15 23:35:53 +08:00
parent 2e8364994f
commit fd86aef25a
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -457,7 +457,8 @@ abstract class Model {
* *
* @return void * @return void
*/ */
public function touch(){ public function touch()
{
$this->timestamp(); $this->timestamp();
$this->save(); $this->save();
} }