1
0
mirror of https://github.com/jupeter/clean-code-php.git synced 2025-09-25 21:49:04 +02:00

Merge pull request #21 from peter-gribanov/menuConfig

[Bugfix] Correct declaration MenuConfig class
This commit is contained in:
Piotr Plenik
2017-08-29 22:11:52 +02:00
committed by GitHub

View File

@@ -206,7 +206,8 @@ function createMenu($title, $body, $buttonText, $cancellable) {
**Good**: **Good**:
```php ```php
class menuConfig() { class MenuConfig
{
public $title; public $title;
public $body; public $body;
public $buttonText; public $buttonText;