Completed
Branch master (d83608)
by Freek
04:57
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);
@@ -103,6 +106,9 @@  discard block
 block discarded – undo
103 106
         return $node->attr($attribute);
104 107
     }
105 108
 
109
+    /**
110
+     * @return string
111
+     */
106 112
     protected function getTypeFromRange(string $range)
107 113
     {
108 114
         switch($range) {
Please login to merge, or discard this patch.