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 $helperName;
17
    protected $helperName;
Línea 18... Línea 18...
18
 
18
 
19
    /**
19
    /**
20
     * @param string    $helperName
20
     * @param string    $helperName
21
     * @param Exception $previous
21
     * @param ?Exception $previous
22
     */
22
     */
23
    public function __construct($helperName, Exception $previous = null)
23
    public function __construct($helperName, ?Exception $previous = null)
24
    {
24
    {
25
        $this->helperName = $helperName;
25
        $this->helperName = $helperName;
26
        $message = sprintf('Unknown helper: %s', $helperName);
26
        $message = sprintf('Unknown helper: %s', $helperName);
27
        if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
27
        if (version_compare(PHP_VERSION, '5.3.0', '>=')) {