Dep: update
주로 PHAN
This commit is contained in:
1 parent
5310c2e7f6
commit
b306601c72
1098 files changed
+92137
-33228
No files matched your search
+3
-3
@@ -26,8 +26,8 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||
*/
|
||||
class ConsoleLogger extends AbstractLogger
|
||||
{
|
||||
const INFO = 'info';
|
||||
const ERROR = 'error';
|
||||
public const INFO = 'info';
|
||||
public const ERROR = 'error';
|
||||
|
||||
private $output;
|
||||
private $verbosityLevelMap = [
|
||||
@@ -104,7 +104,7 @@ class ConsoleLogger extends AbstractLogger
|
||||
*/
|
||||
private function interpolate(string $message, array $context): string
|
||||
{
|
||||
if (false === strpos($message, '{')) {
|
||||
if (!str_contains($message, '{')) {
|
||||
return $message;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user