mirror of
https://github.com/danog/math.git
synced 2025-01-22 13:41:12 +01:00
Make RoundingMode non-instantiable
This commit is contained in:
parent
ac691e01e5
commit
6e3257fb93
@ -13,6 +13,13 @@ namespace Brick\Math;
|
||||
*/
|
||||
final class RoundingMode
|
||||
{
|
||||
/**
|
||||
* Private constructor. This class is not instantiable.
|
||||
*/
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Asserts that the requested operation has an exact result, hence no rounding is necessary.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user