Skip to content

Commit 7d95f64

Browse files
committed
Non-static method Coduo\PHPHumanizer\Number::fromRoman() should not be called statically, assuming $this from incompatible context
1 parent 5243bed commit 7d95f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Coduo/PHPHumanizer/Number.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static function toRoman($number)
3737
return $romanNumeral->toRoman($number);
3838
}
3939

40-
public function fromRoman($number)
40+
public static function fromRoman($number)
4141
{
4242
$romanNumeral = new RomanNumeral();
4343
return $romanNumeral->fromRoman($number);

0 commit comments

Comments
 (0)