@@ -8,14 +8,14 @@ |
||
8 | 8 | use AdminWeb\PayerPagSeguro\States\FactoryState; |
9 | 9 | use AdminWeb\PayerPagSeguro\Events\FactoryEvent; |
10 | 10 | |
11 | -if(!function_exists('makeState')){ |
|
12 | - function makeState($state){ |
|
11 | +if (!function_exists('makeState')) { |
|
12 | + function makeState($state) { |
|
13 | 13 | return FactoryState::get($state); |
14 | 14 | } |
15 | 15 | } |
16 | 16 | |
17 | -if(!function_exists('makeEvent')){ |
|
18 | - function makeEvent($event){ |
|
17 | +if (!function_exists('makeEvent')) { |
|
18 | + function makeEvent($event) { |
|
19 | 19 | return FactoryEvent::get($event); |
20 | 20 | } |
21 | 21 | } |