Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 70... Línea 70...
70
     * Constructor.
70
     * Constructor.
71
     *
71
     *
72
     * @param array $events Array of event_interface events
72
     * @param array $events Array of event_interface events
73
     * @param array $courses Array of courses to populate the cache with
73
     * @param array $courses Array of courses to populate the cache with
74
     */
74
     */
75
    public function __construct(array $events, array $courses = null) {
75
    public function __construct(array $events, ?array $courses = null) {
76
        $this->events = $events;
76
        $this->events = $events;
Línea 77... Línea 77...
77
 
77
 
78
        if (!is_null($courses)) {
78
        if (!is_null($courses)) {