改名
This commit is contained in:
+2
-2
@@ -40,7 +40,7 @@ class Runtime extends Command
|
|||||||
* @return string
|
* @return string
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function execute(InputInterface $input, OutputInterface $output): string
|
public function execute(InputInterface $input, OutputInterface $output): int
|
||||||
{
|
{
|
||||||
// TODO: Implement onHandler() method.
|
// TODO: Implement onHandler() method.
|
||||||
$annotation = Kiri::app()->getAnnotation();
|
$annotation = Kiri::app()->getAnnotation();
|
||||||
@@ -51,7 +51,7 @@ class Runtime extends Command
|
|||||||
Kiri::writeFile($config, $this->configEach());
|
Kiri::writeFile($config, $this->configEach());
|
||||||
Kiri::writeFile($runtime, serialize($annotation->getLoader()));
|
Kiri::writeFile($runtime, serialize($annotation->getLoader()));
|
||||||
|
|
||||||
return 'ok';
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user