Skip to content

Commit

Permalink
fix(cli) Fix Create Service Command
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Mar 19, 2024
1 parent 0d5f798 commit 3e33eb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function test00() {
$this->assertEquals('app\\apis', $writter->getNamespace());
$this->assertEquals('Service', $writter->getSuffix());
$this->assertEquals([
"webfiori\\framework\\EAbstractWebService",
"webfiori\http\AbstractWebService",
"webfiori\http\ParamType",
"webfiori\http\ParamOption",
"webfiori\\http\\RequestMethod"
Expand All @@ -33,7 +33,7 @@ public function test01() {
$this->assertEquals('app\\apis', $writter->getNamespace());
$this->assertEquals('Service', $writter->getSuffix());
$this->assertEquals([
"webfiori\\framework\\EAbstractWebService",
"webfiori\http\AbstractWebService",
"webfiori\http\ParamType",
"webfiori\http\ParamOption",
"webfiori\\http\\RequestMethod"
Expand Down Expand Up @@ -61,7 +61,7 @@ public function test02() {
$this->assertEquals('app\\apis', $writter->getNamespace());
$this->assertEquals('Service', $writter->getSuffix());
$this->assertEquals([
"webfiori\\framework\\EAbstractWebService",
"webfiori\http\AbstractWebService",
"webfiori\http\ParamType",
"webfiori\http\ParamOption",
"webfiori\\http\\RequestMethod"
Expand Down
2 changes: 1 addition & 1 deletion webfiori/framework/writers/WebServiceWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function writeClassComment() {
}

public function writeClassDeclaration() {
$this->append('class '.$this->getName().' extends EAbstractWebService {');
$this->append('class '.$this->getName().' extends AbstractWebService {');
}
/**
*
Expand Down

0 comments on commit 3e33eb8

Please sign in to comment.