Commit bd0a3e07 authored by mondrake's avatar mondrake Committed by mondrake
Browse files

Issue #3180540 by mondrake: Update Proxy class

parent 236f1ce9
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
@@ -67,6 +67,14 @@ namespace Drupal\sophron_guesser\ProxyClass {
            return $this->service;
        }

        /**
         * {@inheritdoc}
         */
        public function guessMimeType(string $path): ?string
        {
            return $this->lazyLoadItself()->guessMimeType($path);
        }

        /**
         * {@inheritdoc}
         */
@@ -78,7 +86,15 @@ namespace Drupal\sophron_guesser\ProxyClass {
        /**
         * {@inheritdoc}
         */
        public function setMapping(array $mapping = NULL)
        public function isGuesserSupported(): bool
        {
            return $this->lazyLoadItself()->isGuesserSupported();
        }

        /**
         * {@inheritdoc}
         */
        public function setMapping(?array $mapping = NULL)
        {
            return $this->lazyLoadItself()->setMapping($mapping);
        }