Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 16... Línea 16...
16
{
16
{
17
    protected $filterName;
17
    protected $filterName;
Línea 18... Línea 18...
18
 
18
 
19
    /**
19
    /**
20
     * @param string    $filterName
20
     * @param string    $filterName
21
     * @param Exception $previous
21
     * @param ?Exception $previous
22
     */
22
     */
23
    public function __construct($filterName, Exception $previous = null)
23
    public function __construct($filterName, ?Exception $previous = null)
24
    {
24
    {
25
        $this->filterName = $filterName;
25
        $this->filterName = $filterName;
26
        $message = sprintf('Unknown filter: %s', $filterName);
26
        $message = sprintf('Unknown filter: %s', $filterName);
27
        if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
27
        if (version_compare(PHP_VERSION, '5.3.0', '>=')) {