@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | public static function camelCase() { |
| 18 | 18 | $args = func_get_args(); |
| 19 | - $components = array_map(function ($component) { |
|
| 19 | + $components = array_map(function($component) { |
|
| 20 | 20 | return preg_replace('/[^a-zA-Z0-9_]/', '_', $component); |
| 21 | 21 | }, $args); |
| 22 | 22 | |
@@ -100,11 +100,9 @@ |
||
| 100 | 100 | // Extract the result array. |
| 101 | 101 | try { |
| 102 | 102 | return call_user_func($callable); |
| 103 | - } |
|
| 104 | - catch (\Exception $exc) { |
|
| 103 | + } catch (\Exception $exc) { |
|
| 105 | 104 | throw $exc; |
| 106 | - } |
|
| 107 | - finally { |
|
| 105 | + } finally { |
|
| 108 | 106 | // In any case, set the language context back to null. |
| 109 | 107 | $this->currentLanguage = $this->languageStack->pop(); |
| 110 | 108 | $this->isActive = FALSE; |