Fix #20513: Fix code examples in PHPDoc

This commit is contained in:
Maksim Spirkov
2025-09-06 02:22:56 +05:00
committed by GitHub
parent a6a7f0128a
commit 53256fdd24
186 changed files with 579 additions and 520 deletions

View File

@ -21,7 +21,7 @@ use yii\web\View;
* To use MaskedInput, you must set the [[mask]] property. The following example
* shows how to use MaskedInput to collect phone numbers:
*
* ```php
* ```
* echo MaskedInput::widget([
* 'name' => 'phone',
* 'mask' => '999-999-9999',
@ -31,7 +31,7 @@ use yii\web\View;
* You can also use this widget in an [[ActiveForm]] using the [[ActiveField::widget()|widget()]]
* method, for example like this:
*
* ```php
* ```
* <?= $form->field($model, 'from_date')->widget(\yii\widgets\MaskedInput::class, [
* 'mask' => '999-999-9999',
* ]) ?>