1
0
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:
Benjamin Morel 2015-06-18 09:06:30 +02:00
parent ac691e01e5
commit 6e3257fb93

View File

@ -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.
*