Skip to content

Commit d6af873

Browse files
authored
Update README.md
1 parent d89dcb0 commit d6af873

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
?>
2424
```
2525

26-
3) Add some facades here too. If you prefer custom blade directives to facades you can skip this step.
26+
3) Add some facades here too. You can skip this step if you prefer custom blade directives.
2727

2828
```php
2929
<?php
@@ -112,7 +112,8 @@ Imagine that we usually need to show *five* news, but in some views we need to s
112112
This can be easily achieved like that:
113113

114114
```php
115-
class RecentNews extends AbstractWidget {
115+
class RecentNews extends AbstractWidget
116+
{
116117
...
117118
protected $config = [
118119
'count' => 5
@@ -131,7 +132,8 @@ Config array is available in every widget method so you can use it to configure
131132
> Note: Config fields that are not specified when you call a widget aren't overridden:
132133
133134
```php
134-
class RecentNews extends AbstractWidget {
135+
class RecentNews extends AbstractWidget
136+
{
135137
...
136138
protected $config = [
137139
'count' => 5,

0 commit comments

Comments
 (0)