src/Error/Warning.php
public static function enable($enable = true)
    {
        if ($enable === true) {
            self::$enableWarnings = self::ALL;
        } elseif ($enable === false) {
            self::$enableWarnings = 0;
        } else {
            self::$enableWarnings |= $enable;
        }
    }
public static function enable($enable = true)
    {
        if ($enable === true) {
            self::$enableWarnings = self::ALL;
        } elseif ($enable === false) {
            self::$enableWarnings = 0;
        } else {
            self::$enableWarnings |= $enable;
        }
    }
public static function enable ( $ enable = true ) { if ( $ enable === true ) { self :: $ enableWarnings = self :: ALL ; } elseif ( $ enable === false ) { self :: $ enableWarnings = 0 ; } else { self :: $ enableWarnings |= $ enable ; } }
Re-enable previously suppressed warning by id

Usage example:
Warning::suppress(Warning::WARNING_NOT_A_TYPE)

When passing true - re-enables all warnings.

@param bool|int $enable

@api
Re - enable previously suppressed warning by id