We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2a926f + a5ff5c9 commit db39864Copy full SHA for db39864
src/ContextTypes/AggregateRating.php
@@ -15,5 +15,6 @@ class AggregateRating extends AbstractContext
15
'bestRating' => null,
16
'worstRating' => null,
17
'ratingCount' => null,
18
+ 'itemReviewed' => Thing::class,
19
];
-}
20
+}
tests/ContextTypes/AggregateRatingTest.php
@@ -15,6 +15,10 @@ class AggregateRatingTest extends TestCase
'bestRating' => 4.5,
'worstRating' => 1,
'ratingCount' => 4,
+ 'itemReviewed' => [
+ '@type' => 'Thing',
+ 'name' => 'Fluff Hut',
21
+ ],
22
23
24
/**
0 commit comments