Completed
Pull Request — master (#50)
by
unknown
11:10
created
vendor/symfony/config/Definition/BaseNode.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,11 +50,17 @@  discard block
 block discarded – undo
50 50
         $this->parent = $parent;
51 51
     }
52 52
 
53
+    /**
54
+     * @param string $key
55
+     */
53 56
     public function setAttribute($key, $value)
54 57
     {
55 58
         $this->attributes[$key] = $value;
56 59
     }
57 60
 
61
+    /**
62
+     * @param string $key
63
+     */
58 64
     public function getAttribute($key, $default = null)
59 65
     {
60 66
         return isset($this->attributes[$key]) ? $this->attributes[$key] : $default;
@@ -123,7 +129,7 @@  discard block
 block discarded – undo
123 129
     /**
124 130
      * Adds an equivalent value.
125 131
      *
126
-     * @param mixed $originalValue
132
+     * @param null|boolean $originalValue
127 133
      * @param mixed $equivalentValue
128 134
      */
129 135
     public function addEquivalentValue($originalValue, $equivalentValue)
Please login to merge, or discard this patch.
vendor/symfony/config/Definition/Builder/BooleanNodeDefinition.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
 {
24 24
     /**
25 25
      * {@inheritdoc}
26
+     * @param string $name
26 27
      */
27 28
     public function __construct($name, NodeParentInterface $parent = null)
28 29
     {
Please login to merge, or discard this patch.
vendor/symfony/config/Definition/Builder/ExprBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * Tests if the value is in an array.
114 114
      *
115
-     * @param array $array
115
+     * @param string[] $array
116 116
      *
117 117
      * @return ExprBuilder
118 118
      */
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     /**
127 127
      * Tests if the value is not in an array.
128 128
      *
129
-     * @param array $array
129
+     * @param string[] $array
130 130
      *
131 131
      * @return ExprBuilder
132 132
      */
Please login to merge, or discard this patch.
vendor/symfony/config/Definition/Dumper/XmlReferenceDumper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@
 block discarded – undo
26 26
 {
27 27
     private $reference;
28 28
 
29
+    /**
30
+     * @param string $namespace
31
+     */
29 32
     public function dump(ConfigurationInterface $configuration, $namespace = null)
30 33
     {
31 34
         return $this->dumpNode($configuration->getConfigTreeBuilder()->buildTree(), $namespace);
Please login to merge, or discard this patch.
vendor/symfony/config/Definition/Dumper/YamlReferenceDumper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -178,6 +178,9 @@
 block discarded – undo
178 178
         $this->reference .= sprintf($format, $text)."\n";
179 179
     }
180 180
 
181
+    /**
182
+     * @param integer $depth
183
+     */
181 184
     private function writeArray(array $array, $depth)
182 185
     {
183 186
         $isIndexed = array_values($array) === $array;
Please login to merge, or discard this patch.
vendor/symfony/config/Tests/Definition/Builder/ArrayNodeDefinitionTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -197,6 +197,10 @@
 block discarded – undo
197 197
         );
198 198
     }
199 199
 
200
+    /**
201
+     * @param ArrayNodeDefinition $object
202
+     * @param string $field
203
+     */
200 204
     protected function getField($object, $field)
201 205
     {
202 206
         $reflection = new \ReflectionProperty($object, $field);
Please login to merge, or discard this patch.
vendor/symfony/config/Tests/Definition/Builder/ExprBuilderTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     /**
154 154
      * Create a test treebuilder with a variable node, and init the validation.
155 155
      *
156
-     * @return TreeBuilder
156
+     * @return \Symfony\Component\Config\Definition\Builder\ExprBuilder
157 157
      */
158 158
     protected function getTestBuilder()
159 159
     {
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
     /**
191 191
      * Return a closure that will return the given value.
192 192
      *
193
-     * @param mixed $val The value that the closure must return
193
+     * @param string $val The value that the closure must return
194 194
      *
195 195
      * @return \Closure
196 196
      */
Please login to merge, or discard this patch.
vendor/symfony/config/Tests/Definition/NormalizationTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -207,6 +207,9 @@
 block discarded – undo
207 207
         self::assertSame($normalized, $tree->normalize($denormalized));
208 208
     }
209 209
 
210
+    /**
211
+     * @return NodeInterface
212
+     */
210 213
     private function getNumericKeysTestTree()
211 214
     {
212 215
         $tb = new TreeBuilder();
Please login to merge, or discard this patch.
vendor/symfony/config/Tests/Resource/DirectoryResourceTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
         $this->removeDirectory($this->directory);
35 35
     }
36 36
 
37
+    /**
38
+     * @param string $directory
39
+     */
37 40
     protected function removeDirectory($directory)
38 41
     {
39 42
         $iterator = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($directory), \RecursiveIteratorIterator::CHILD_FIRST);
Please login to merge, or discard this patch.