Dotclear


Ignore:
Timestamp:
09/14/18 12:16:17 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

short notation for array (array() → [])

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.error.php

    r3750 r3874  
    1919{ 
    2020    /** @var array Errors stack */ 
    21     protected $errors = array(); 
     21    protected $errors = []; 
    2222    /** @var boolean True if stack is not empty */ 
    2323    protected $flag = false; 
     
    7272    { 
    7373        $this->flag   = false; 
    74         $this->errors = array(); 
     74        $this->errors = []; 
    7575    } 
    7676 
Note: See TracChangeset for help on using the changeset viewer.

Sites map