Warn when non-void methods and closures finish without returning
Build / AerScript (push) Successful in 40s
Build / AerScript (push) Successful in 40s
This commit is contained in:
@@ -22,7 +22,7 @@ final class Test {
|
||||
return $this->value;
|
||||
}
|
||||
|
||||
public int set(int $value = 0) {
|
||||
public void set(int $value = 0) {
|
||||
$this->value = $value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user