Jake Vanderwerf
3 days ago ba1e1ccf869b818f7a7a897264dfea05563a7796
inc/managers/SEO/render/Traits/ThingSchema.php
@@ -31,11 +31,12 @@
      nameTrait, ownerTrait, potentialActionTrait, sameAsTrait, subjectOfTrait, urlTrait;
   protected string $id;
   protected bool $showID = true;
   protected array $ignore = [
      'mappedMethods',
      'ignore',
      'id'
      'id',
      'showID',
   ];
   public function outputSchema():array
   {
@@ -76,9 +77,10 @@
         }, ARRAY_FILTER_USE_KEY)
      );
      return  array_merge([
      $id = $this->showID ? ['@id' => $id] : [];
      return  array_merge($id, [
         '@type'  => $this->getTypeName(),
         '@id' => $id,
      ], array_filter($elements));
   }
@@ -161,4 +163,9 @@
      );
   }
   public function showID(bool $showIt = true):void
   {
      $this->showID = $showIt;
   }
}