From 92b7dd3335a6572debeacfb5faa82c63a5e67888 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 8 Jun 2018 20:03:25 +0200 Subject: Some minor fixes --- main/app/system/Database/Model/Migrations.php | 110 +++++++++++++------------- 1 file changed, 55 insertions(+), 55 deletions(-) (limited to 'main/app/system/Database/Model') diff --git a/main/app/system/Database/Model/Migrations.php b/main/app/system/Database/Model/Migrations.php index da690f8..6dca26e 100644 --- a/main/app/system/Database/Model/Migrations.php +++ b/main/app/system/Database/Model/Migrations.php @@ -1,55 +1,55 @@ -<?php -/** - * UserFrosting (http://www.userfrosting.com) - * - * @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; -use Illuminate\Database\Eloquent\Model; - -/** - * Migration Model - * - * Represents the model for the `migrations` table - * - * @author Alex Weissman (https://alexanderweissman.com) - * @property string sprinkle - * @property string version - */ -class Migrations extends Model -{ - /** - * @var string The name of the table for the current model. - */ - protected $table = "migrations"; - - /** - * @var bool Enable timestamps for this class. - */ - public $timestamps = TRUE; - - /** - * @var array List of fields that can be edited by this model - */ - protected $fillable = [ - "sprinkle", - "migration", - "batch" - ]; - - /** - * scopeForSprinkle function. - * - * @access protected - * @param mixed $query - * @param string $sprinkleName - * @return void - */ - protected function scopeForSprinkle($query, $sprinkleName) { - return $query->where('sprinkle', $sprinkleName); - } -} +<?php +/** + * UserFrosting (http://www.userfrosting.com) + * + * @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; +use Illuminate\Database\Eloquent\Model; + +/** + * Migration Model + * + * Represents the model for the `migrations` table + * + * @author Alex Weissman (https://alexanderweissman.com) + * @property string sprinkle + * @property string version + */ +class Migrations extends Model +{ + /** + * @var string The name of the table for the current model. + */ + protected $table = "migrations"; + + /** + * @var bool Enable timestamps for this class. + */ + public $timestamps = TRUE; + + /** + * @var array List of fields that can be edited by this model + */ + protected $fillable = [ + "sprinkle", + "migration", + "batch" + ]; + + /** + * scopeForSprinkle function. + * + * @access protected + * @param mixed $query + * @param string $sprinkleName + * @return void + */ + protected function scopeForSprinkle($query, $sprinkleName) { + return $query->where('sprinkle', $sprinkleName); + } +} -- cgit v1.2.3