Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Dec 15, 2023
1 parent 5335729 commit 0f92224
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{% $phpOpen %}

/**
* Part of Windwalker project.
*
* @copyright Copyright (C) {% $year %}.
* @license __LICENSE__
*/

declare(strict_types=1);

namespace App\Migration;
Expand Down
7 changes: 0 additions & 7 deletions resources/templates/seed/{% kebab($name) %}-seeder.php.tpl
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{% $phpOpen %}

/**
* Part of starter project.
*
* @copyright Copyright (C) {% $year %} __ORGANIZATION__.
* @license __LICENSE__
*/

declare(strict_types=1);

namespace App\Seeder;
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Manager/DatabaseManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function create(?string $name = null, ...$args): object

try {
if ($options['strict'] ?? true) {
$platform->enableStrictMode($options['modes'] ?? null);
$platform->enableStrictMode($options['modes'] ?? null ?: null);
} elseif ($options['modes'] ?? null) {
$platform->setModes($options['modes'] ?? []);
}
Expand Down
1 change: 0 additions & 1 deletion views/code/enum/{% pascal($name) %}.php.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ declare(strict_types=1);

namespace {% $ns %};

use Windwalker\Utilities\Enum\EnumSingleton;
use Windwalker\Utilities\Enum\EnumTranslatableInterface;
use Windwalker\Utilities\Enum\EnumTranslatableTrait;
use Windwalker\Utilities\Contract\LanguageInterface;
Expand Down

0 comments on commit 0f92224

Please sign in to comment.