code: public function getThemes(): array
      {
          if (null !== $this->definedThemes) {
              return $this->definedThemes;
          }
          return
              $this->definedThemes = $this->prepareThemes();
      }
docs: @return array
  
  @psalm-suppress RedundantConditionGivenDocblockType