Completed
Pull Request — master (#18)
by Freek
09:22 queued 05:18
created
generator/Parser/RdfaParser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@  discard block
 block discarded – undo
15 15
     /** @var \Spatie\SchemaOrg\Generator\TypeCollection */
16 16
     protected $types;
17 17
 
18
+    /**
19
+     * @param string $rdfa
20
+     */
18 21
     public function __construct($rdfa)
19 22
     {
20 23
         $this->crawler = new Crawler($rdfa);
@@ -109,6 +112,9 @@  discard block
 block discarded – undo
109 112
         return $node->attr($attribute);
110 113
     }
111 114
 
115
+    /**
116
+     * @return string
117
+     */
112 118
     protected function getTypeFromRange(string $range)
113 119
     {
114 120
         switch ($range) {
Please login to merge, or discard this patch.