Completed
Pull Request — master (#16)
by Théo
02:49
created
src/DependencyInjection/Resolver/BaseParametersResolver.php 1 patch
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.