diff --git a/core/lib/Drupal/Core/StackMiddleware/BrowserBugsFormatNegotiator.php b/core/lib/Drupal/Core/StackMiddleware/BrowserBugsFormatNegotiator.php index 7a08446..8007d88 100644 --- a/core/lib/Drupal/Core/StackMiddleware/BrowserBugsFormatNegotiator.php +++ b/core/lib/Drupal/Core/StackMiddleware/BrowserBugsFormatNegotiator.php @@ -35,6 +35,13 @@ public function __construct(FormatNegotiatorInterface $format_negotiator) { /** * {@inheritdoc} */ + public function __call($name, $arguments) { + return call_user_func_array([$this, $name], $arguments); + } + + /** + * {@inheritdoc} + */ public function getBestFormat($acceptHeader, array $priorities = array()) { return $this->formatNegotiator->getBestFormat($acceptHeader, $priorities); }