Skip to content

Commit

Permalink
build(config) correctly transpile method
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Sep 10, 2024
1 parent 3451ec1 commit d2bc8de
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/rector-35.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']
],
]
]);
};

0 comments on commit d2bc8de

Please sign in to comment.