modifs.mineures sans commentaires
This commit is contained in:
parent
5035d5522a
commit
59e2abee61
@ -195,19 +195,21 @@ EOT);
|
|||||||
protected static function _initialize_app(): void {
|
protected static function _initialize_app(): void {
|
||||||
app::init(static::class);
|
app::init(static::class);
|
||||||
app::set_fact(app::FACT_CLI_APP);
|
app::set_fact(app::FACT_CLI_APP);
|
||||||
msg::set_messenger(new ConsoleMessenger([
|
$con = new ConsoleMessenger([
|
||||||
"min_level" => msg::DEBUG,
|
"min_level" => msg::DEBUG,
|
||||||
]));
|
]);
|
||||||
|
say::set_messenger($con);
|
||||||
|
msg::set_messenger($con);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected static function _configure_app(Application $app): void {
|
protected static function _configure_app(Application $app): void {
|
||||||
config::configure(config::CONFIGURE_INITIAL_ONLY);
|
config::configure(config::CONFIGURE_INITIAL_ONLY);
|
||||||
|
|
||||||
$con = con::set_messenger(new ConsoleMessenger([
|
$con = con::set_messenger(new ConsoleMessenger([
|
||||||
"min_level" => msg::NORMAL,
|
"min_level" => con::NORMAL,
|
||||||
]));
|
]));
|
||||||
say::set_messenger($con);
|
say::set_messenger($con, true);
|
||||||
msg::set_messenger($con);
|
msg::set_messenger($con, true);
|
||||||
if (static::USE_LOGFILE) {
|
if (static::USE_LOGFILE) {
|
||||||
$log = log::set_messenger(new LogMessenger([
|
$log = log::set_messenger(new LogMessenger([
|
||||||
"output" => app::get()->getLogfile(),
|
"output" => app::get()->getLogfile(),
|
||||||
|
@ -28,7 +28,7 @@ use nulib\ValueException;
|
|||||||
*/
|
*/
|
||||||
class Word {
|
class Word {
|
||||||
/** @var bool le mot est-il féminin? */
|
/** @var bool le mot est-il féminin? */
|
||||||
private bool $fem;
|
private ?bool $fem;
|
||||||
/** @var string article "aucun", "aucune" */
|
/** @var string article "aucun", "aucune" */
|
||||||
private ?string $aucun;
|
private ?string $aucun;
|
||||||
/** @var string article "un", "une" */
|
/** @var string article "un", "une" */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user