Skip to content

Commit 715fdde

Browse files
committed
rename
1 parent 161697b commit 715fdde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Environment.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ public static function environment(): string
3333
return self::$values['YII_ENV'];
3434
}
3535

36-
public static function isDevelopment(): bool
36+
public static function isDev(): bool
3737
{
3838
return self::environment() === self::DEV;
3939
}
4040

41-
public static function isTesting(): bool
41+
public static function isTest(): bool
4242
{
4343
return self::environment() === self::TEST;
4444
}
4545

46-
public static function isProduction(): bool
46+
public static function isProd(): bool
4747
{
4848
return self::environment() === self::PROD;
4949
}

0 commit comments

Comments
 (0)