Skip to content

Commit

Permalink
访问修饰符
Browse files Browse the repository at this point in the history
  • Loading branch information
acrossmountain committed Dec 17, 2019
1 parent cd6ea19 commit f4cc2e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ use EasySwoole\Http\AbstractInterface\Controller;
*/
class Index extends Controller
{
function index()
public function index()
{
$this->response()->write('Hello World');
}
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ use EasySwoole\Http\AbstractInterface\Controller;
*/
class Index extends Controller
{
function index()
public function index()
{
$this->response()->write('Hello World');
}
Expand Down
2 changes: 1 addition & 1 deletion src/Resource/Http/Index._php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use EasySwoole\Http\AbstractInterface\Controller;
class Index extends Controller
{

function index()
public function index()
{
$file = EASYSWOOLE_ROOT.'/vendor/easyswoole/easyswoole/src/Resource/Http/welcome.html';
if(!is_file($file)){
Expand Down

0 comments on commit f4cc2e7

Please sign in to comment.