aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/system/Database/Model
diff options
context:
space:
mode:
authorMarvin Borner2018-05-23 22:23:28 +0200
committerMarvin Borner2018-05-23 22:23:28 +0200
commitb66a61addb6c8e66cb26fcf74b532d68891267e4 (patch)
tree05e9449ff25bdc98f68105f41923ccb9f6ef5095 /main/app/system/Database/Model
parent1d4ef435177a5f9b6d1a289800d933e49be0c550 (diff)
Refactored code, many fixes and improvements in chat backend+frontend
Diffstat (limited to 'main/app/system/Database/Model')
-rw-r--r--main/app/system/Database/Model/Migrations.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/app/system/Database/Model/Migrations.php b/main/app/system/Database/Model/Migrations.php
index 6a0942e..da690f8 100644
--- a/main/app/system/Database/Model/Migrations.php
+++ b/main/app/system/Database/Model/Migrations.php
@@ -5,6 +5,7 @@
* @link https://github.com/userfrosting/UserFrosting
* @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License)
*/
+
namespace UserFrosting\System\Database\Model;
use Illuminate\Database\Capsule\Manager as Capsule;
@@ -29,7 +30,7 @@ class Migrations extends Model
/**
* @var bool Enable timestamps for this class.
*/
- public $timestamps = true;
+ public $timestamps = TRUE;
/**
* @var array List of fields that can be edited by this model
@@ -48,8 +49,7 @@ class Migrations extends Model
* @param string $sprinkleName
* @return void
*/
- protected function scopeForSprinkle($query, $sprinkleName)
- {
+ protected function scopeForSprinkle($query, $sprinkleName) {
return $query->where('sprinkle', $sprinkleName);
}
}