:octocat: change classnames to "self" on several returns

This commit is contained in:
codemasher
2021-11-18 13:01:46 +01:00
parent 51cb15c0d6
commit 17d0bc0dd9
8 changed files with 38 additions and 38 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ final class FinderPattern extends ResultPoint{
* with a new estimate. It returns a new {@code FinderPattern} containing a weighted average
* based on count.
*/
public function combineEstimate(float $i, float $j, float $newModuleSize):FinderPattern{
public function combineEstimate(float $i, float $j, float $newModuleSize):self{
$combinedCount = $this->count + 1;
return new self(