@@ -11,14 +11,12 @@ |
||
| 11 | 11 | * @class AuthParam |
| 12 | 12 | * @package Platine\App\Param |
| 13 | 13 | */ |
| 14 | -class StatusList |
|
| 15 | -{ |
|
| 14 | +class StatusList { |
|
| 16 | 15 | /** |
| 17 | 16 | * Create new instance |
| 18 | 17 | * @param Lang $lang |
| 19 | 18 | */ |
| 20 | - public function __construct(protected Lang $lang) |
|
| 21 | - { |
|
| 19 | + public function __construct(protected Lang $lang) { |
|
| 22 | 20 | } |
| 23 | 21 | |
| 24 | 22 | /** |
@@ -7,12 +7,11 @@ |
||
| 7 | 7 | use Platine\Database\Schema\CreateTable; |
| 8 | 8 | use Platine\Framework\Migration\AbstractMigration; |
| 9 | 9 | |
| 10 | -class AddConfigurationTable20220109074106 extends AbstractMigration |
|
| 11 | -{
|
|
| 10 | +class AddConfigurationTable20220109074106 extends AbstractMigration { |
|
| 12 | 11 | public function up(): void |
| 13 | 12 | {
|
| 14 | 13 | //Action when migrate up |
| 15 | - $this->create('configurations', function (CreateTable $table) {
|
|
| 14 | + $this->create('configurations', function (CreateTable $table) { |
|
| 16 | 15 | $table->integer('id')
|
| 17 | 16 | ->autoincrement() |
| 18 | 17 | ->primary(); |
@@ -5,12 +5,11 @@ |
||
| 5 | 5 | use Platine\Database\Schema\CreateTable; |
| 6 | 6 | use Platine\Framework\Migration\AbstractMigration; |
| 7 | 7 | |
| 8 | -class AddApiTokensTable20210823152146 extends AbstractMigration |
|
| 9 | -{
|
|
| 8 | +class AddApiTokensTable20210823152146 extends AbstractMigration { |
|
| 10 | 9 | public function up(): void |
| 11 | 10 | {
|
| 12 | 11 | //Action when migrate up |
| 13 | - $this->create('tokens', function (CreateTable $table) {
|
|
| 12 | + $this->create('tokens', function (CreateTable $table) { |
|
| 14 | 13 | $table->integer('id')
|
| 15 | 14 | ->autoincrement() |
| 16 | 15 | ->primary(); |
@@ -7,12 +7,11 @@ |
||
| 7 | 7 | use Platine\Database\Schema\CreateTable; |
| 8 | 8 | use Platine\Framework\Migration\AbstractMigration; |
| 9 | 9 | |
| 10 | -class AddAuditsTable20220323095520 extends AbstractMigration |
|
| 11 | -{
|
|
| 10 | +class AddAuditsTable20220323095520 extends AbstractMigration { |
|
| 12 | 11 | public function up(): void |
| 13 | 12 | {
|
| 14 | 13 | //Action when migrate up |
| 15 | - $this->create('audits', function (CreateTable $table) {
|
|
| 14 | + $this->create('audits', function (CreateTable $table) { |
|
| 16 | 15 | $table->integer('id')
|
| 17 | 16 | ->autoincrement() |
| 18 | 17 | ->primary(); |