Warn when non-void methods and closures finish without returning
Build / AerScript (push) Successful in 40s

This commit is contained in:
2026-10-26 18:39:37 +01:00
parent 7ae2412a88
commit 329305c071
4 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -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;
}
}