diff --git a/accepted/PSR-2-coding-style-guide.md b/accepted/PSR-2-coding-style-guide.md index 360f12cc4..8227059f9 100644 --- a/accepted/PSR-2-coding-style-guide.md +++ b/accepted/PSR-2-coding-style-guide.md @@ -475,7 +475,7 @@ foreach ($iterable as $key => $value) { } ``` -### 5.6. `try`, `catch` +### 5.6. `try`, `catch`, `finaly` A `try catch` block looks like the following. Note the placement of parentheses, spaces, and braces. @@ -490,6 +490,20 @@ try { // catch body } ``` +And when you use the `finally` block it's will be like the following. + +```php +