Skip to content

Commit 304d5f9

Browse files
v1.6.1 Release
メイン処理クラス生成時のサーバー名をCLI引数で指定された名前と一致させる
1 parent 78629b8 commit 304d5f9

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

commands/main/params.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22

33
return [
4-
'identifer' => 'server-name',
54
'description' => 'サーバーの説明',
65
'setting_cors' => "'cors'",
76
'setting_parameter' => 'null',

commands/main/template.php.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class <%= name %> extends MainForRestApi
1818
/**
1919
* @var string $identifer サーバー識別子
2020
*/
21-
protected string $identifer = 'app:<%= identifer %> {port?} {keep_alive?}';
21+
protected string $identifer = 'app:<%= name %> {port?} {keep_alive?}';
2222
2323
/**
2424
* @var string $description コマンド説明

0 commit comments

Comments
 (0)