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