Skip to content

Commit f866444

Browse files
committed
add some new methods, format codes
1 parent 5416745 commit f866444

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/LiteApp.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function stop($code = 0)
101101

102102
/**
103103
* @param string $command
104-
* @param $handler
104+
* @param $handler
105105
* @return mixed
106106
* @throws \InvalidArgumentException
107107
*/
@@ -185,9 +185,9 @@ public function parseCliArgv()
185185
}
186186

187187
/**
188-
* @param string $command
188+
* @param string $command
189189
* @param string|\Closure $handler
190-
* @param string $description
190+
* @param string $description
191191
* @throws \InvalidArgumentException
192192
*/
193193
public function addCommand(string $command, $handler, $description = '')
@@ -247,7 +247,7 @@ public function showCommands($err = '')
247247

248248
/**
249249
* @param string $name
250-
* @param mixed $default
250+
* @param mixed $default
251251
* @return mixed|null
252252
*/
253253
public function getArg($name, $default = null)
@@ -257,7 +257,7 @@ public function getArg($name, $default = null)
257257

258258
/**
259259
* @param string $name
260-
* @param mixed $default
260+
* @param mixed $default
261261
* @return mixed|null
262262
*/
263263
public function getOpt($name, $default = null)

0 commit comments

Comments
 (0)