| @@ -15,6 +15,9 @@ discard block | ||
| 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 | ||
| 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) { |