Completed
Pull Request — master (#25)
by Greg
02:27
created
src/FormatterOptions.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -121,6 +121,10 @@
 block discarded – undo
121 121
         return $this;
122 122
     }
123 123
 
124
+    /**
125
+     * @param string $key
126
+     * @param boolean $value
127
+     */
124 128
     public function setConfigurationDefault($key, $value)
125 129
     {
126 130
         if (!array_key_exists($key, $this->configurationData)) {
Please login to merge, or discard this patch.
src/StructuredData/AssociativeList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      * transformation object.
20 20
      *
21 21
      * @param FormatterOptions $options Options that affect output formatting.
22
-     * @return Consolidation\OutputFormatters\Transformations\TableTransformation
22
+     * @return TableTransformation
23 23
      */
24 24
     public function restructure(FormatterOptions $options)
25 25
     {
Please login to merge, or discard this patch.
src/StructuredData/RowsOfFields.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      * transformation object.
18 18
      *
19 19
      * @param FormatterOptions $options Options that affect output formatting.
20
-     * @return Consolidation\OutputFormatters\Transformations\TableTransformation
20
+     * @return \Consolidation\OutputFormatters\Transformations\TableTransformation
21 21
      */
22 22
     public function restructure(FormatterOptions $options)
23 23
     {
Please login to merge, or discard this patch.
src/StructuredData/Xml/XmlSchema.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
         $this->addXmlChildren($dom, $element, $elementName, $structuredData);
35 35
     }
36 36
 
37
+    /**
38
+     * @param \DOMElement $xmlParent
39
+     */
37 40
     protected function addXmlChildren(\DOMDocument $dom, $xmlParent, $elementName, $structuredData)
38 41
     {
39 42
         foreach ($structuredData as $key => $value) {
Please login to merge, or discard this patch.
src/Transformations/DomToArraySimplifier.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     }
17 17
 
18 18
     /**
19
-     * @param ReflectionClass $dataType
19
+     * @param \ReflectionClass $dataType
20 20
      */
21 21
     public function canSimplify(\ReflectionClass $dataType)
22 22
     {
Please login to merge, or discard this patch.
src/FormatterManager.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -182,6 +182,9 @@  discard block
 block discarded – undo
182 182
         return $this->isValidFormatForReflectionClass($formatter, $dataType);
183 183
     }
184 184
 
185
+    /**
186
+     * @param \ReflectionClass $dataType
187
+     */
185 188
     public function isValidFormatForReflectionClass(FormatterInterface $formatter, $dataType)
186 189
     {
187 190
         if ($this->canSimplifyToArray($dataType)) {
@@ -196,6 +199,10 @@  discard block
 block discarded – undo
196 199
         }
197 200
         return array_reduce(
198 201
             $formatter->validDataTypes(),
202
+
203
+            /**
204
+             * @param \ReflectionClass $supportedType
205
+             */
199 206
             function ($carry, $supportedType) use ($dataType) {
200 207
                 return
201 208
                     $carry ||
@@ -266,6 +273,7 @@  discard block
 block discarded – undo
266 273
 
267 274
     /**
268 275
      * Test to see if the stipulated format exists
276
+     * @param string $format
269 277
      */
270 278
     public function hasFormatter($format)
271 279
     {
Please login to merge, or discard this patch.