Skip to content

Commit 4e4fff9

Browse files
committed
Update README
1 parent 485a505 commit 4e4fff9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ Route example with placeholder:
100100

101101
There we have placeholder called **{name}** and we can get this value in controller:
102102
```php
103-
public function sayHello($args)
103+
public function sayHello($name)
104104
{
105-
echo "Hello, {$args['name']}";
105+
echo "Hello, {$name}";
106106
}
107107
```
108108

0 commit comments

Comments
 (0)