Completed
Push — master ( bac48d...74ca95 )
by Théo
10s
created
src/DependencyInjection/Resolver/BaseParametersResolver.php 2 patches
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     }
119 119
 
120 120
     /**
121
-     * @param $value
121
+     * @param string $value
122 122
      * @param $resolving
123 123
      *
124 124
      * @return array|mixed
@@ -135,6 +135,10 @@  discard block
 block discarded – undo
135 135
         $self = $this;
136 136
         return preg_replace_callback(
137 137
             '/%%|%([^%\s]+)%/',
138
+
139
+            /**
140
+             * @param string $match
141
+             */
138 142
             function ($match) use ($self, $resolving, $value) {
139 143
                 // skip %%
140 144
                 if (false === isset($match[1])) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
         $self = $this;
136 136
         return preg_replace_callback(
137 137
             '/%%|%([^%\s]+)%/',
138
-            function ($match) use ($self, $resolving, $value) {
138
+            function($match) use ($self, $resolving, $value) {
139 139
                 // skip %%
140 140
                 if (false === isset($match[1])) {
141 141
                     return '%%';
Please login to merge, or discard this patch.