Completed
Pull Request — master (#3)
by Indra
02:35
created
DependencyInjection/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
                 ->end()
53 53
                 ->arrayNode('throttle')
54 54
                     ->beforeNormalization()
55
-                        ->ifTrue(function ($v) { return is_array($v) && (isset($v['limit']) || isset($v['period'])); })
56
-                        ->then(function ($v) {
55
+                        ->ifTrue(function($v) { return is_array($v) && (isset($v['limit']) || isset($v['period'])); })
56
+                        ->then(function($v) {
57 57
                             $v['default'] = [];
58 58
                             if (isset($v['limit'])) {
59 59
                                 @trigger_error('The indragunawan_api_rate_limit.throttle.limit configuration key is deprecated since version v0.2.0 and will be removed in v0.3.0. Use the indragunawan_api_rate_limit.throttle.default.limit configuration key instead.', E_USER_DEPRECATED);
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
                             ->cannotBeEmpty()
108 108
                             ->defaultNull()
109 109
                             ->validate()
110
-                            ->ifTrue(function ($v) {
110
+                            ->ifTrue(function($v) {
111 111
                                 if (!class_exists($v)) {
112 112
                                     return true;
113 113
                                 }
Please login to merge, or discard this patch.