From 738d38f0b75e29f1e905529e64a62d5dbe501cbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Pel=C3=AD=C5=A1ek?= Date: Fri, 26 Apr 2019 14:35:09 +0200 Subject: [PATCH] Update Robots.php --- src/Robots.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Robots.php b/src/Robots.php index be2dd15..b3a6cdd 100644 --- a/src/Robots.php +++ b/src/Robots.php @@ -27,9 +27,7 @@ final class Robots extends \Nette\Application\UI\Control private $config; public function __construct(array $config) - { - parent::__construct(); - + { $this->config = \array_merge_recursive(self::$defaultConfig, $config); }