There was an error while loading. Please reload this page.
LocalBusiness
1 parent c149962 commit 7ea3d39Copy full SHA for 7ea3d39
1 file changed
src/helpers/DynamicMeta.php
@@ -743,6 +743,7 @@ public static function addOpeningHours(MetaJsonLd $jsonLd, $entity)
743
{
744
Craft::beginProfile('DynamicMeta::addOpeningHours', __METHOD__);
745
if ($jsonLd instanceof LocalBusinessInterface && $entity !== null) {
746
+ /** @var LocalBusiness $jsonLd */
747
$openingHours = [];
748
$days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
749
$times = $entity->localBusinessOpeningHours;
0 commit comments