Commit f8dd0b1f by Alexander Makarov

Fixed code block formatting

parent 7d8dfe52
...@@ -126,6 +126,7 @@ If `scenarios` method is not defined, default scenario is applied. That means at ...@@ -126,6 +126,7 @@ If `scenarios` method is not defined, default scenario is applied. That means at
considered *active*. considered *active*.
If you want to keep the default scenario available besides your own scenarios, use inheritance to include it: If you want to keep the default scenario available besides your own scenarios, use inheritance to include it:
```php ```php
class User extends \yii\db\ActiveRecord class User extends \yii\db\ActiveRecord
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment