/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Console/View/Components/TwoColumnDetail.php
35 строк
980 B
Ritvars Timermanis
Fix TwoColumnDetail stripping trailing punctuation from second column values (#59010)
26 фев 2026, 17:49
Не верифицирован
26 фев 2026, 17:49
81518e8
Код
Авторство
О чём код?
<?php namespace Illuminate\Console\View\Components; use Symfony\Component\Console\Output\OutputInterface; class TwoColumnDetail extends Component { /** * Renders the component using the given arguments. * * @param string $first * @param string|null $second * @param int $verbosity * @return void */ public function render($first, $second = null, $verbosity = OutputInterface::VERBOSITY_NORMAL) { $first = $this->mutate($first, [ Mutators\EnsureDynamicContentIsHighlighted::class, Mutators\EnsureNoPunctuation::class, Mutators\EnsureRelativePaths::class, ]); $second = $this->mutate($second, [ Mutators\EnsureDynamicContentIsHighlighted::class, Mutators\EnsureRelativePaths::class, ]); $this->renderView('two-column-detail', [ 'first' => $first, 'second' => $second, ], $verbosity); } }