From d2bc8decc3a81795fc82aead53e52f6e2d503559 Mon Sep 17 00:00:00 2001 From: Luca Tumedei Date: Tue, 10 Sep 2024 17:31:15 +0200 Subject: [PATCH] build(config) correctly transpile method --- config/rector-35.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/rector-35.php b/config/rector-35.php index 1e50dfb4e..2fcea180d 100644 --- a/config/rector-35.php +++ b/config/rector-35.php @@ -76,6 +76,14 @@ 'assertDirectoryExists' => [ RemoveTypeHinting::REMOVE_ALL => true ] + ], + 'lucatume\WPBrowser\Module\WPLoader' => [ + // from: public function _beforeSuite(array $settings = []) + // to: public function _beforeSuite($settings = []) + '_beforeSuite' => [ + RemoveTypeHinting::REMOVE_RETURN_TYPE_HINTING => true, + RemoveTypeHinting::REMOVE_PARAM_TYPE_HINTING => ['settings'] + ], ] ]); };