Skip to content

Commit 41d04ad

Browse files
authored
Merge pull request #1001 from PHPCSStandards/phpcs-4.0/feature/config-setsettings-is-void
Config::setSettings(): void method should not return
2 parents 4a9e227 + e04f813 commit 41d04ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public function getSettings()
374374
*/
375375
public function setSettings($settings)
376376
{
377-
return $this->settings = $settings;
377+
$this->settings = $settings;
378378

379379
}//end setSettings()
380380

0 commit comments

Comments
 (0)