Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 817... Línea 817...
817
     *
817
     *
818
     * @param   \context     $context    The context to check.
818
     * @param   \context     $context    The context to check.
819
     * @param   array|null   $filters    Optional array of filters.
819
     * @param   array|null   $filters    Optional array of filters.
820
     * @return  bool
820
     * @return  bool
821
     */
821
     */
822
    public function matches_all_filters(\context $context, array $filters = null): bool {
822
    public function matches_all_filters(\context $context, ?array $filters = null): bool {
823
        if (!$filters) {
823
        if (!$filters) {
824
            $filters = helper::get_all_filters();
824
            $filters = helper::get_all_filters();
825
        }
825
        }
Línea 826... Línea 826...
826
 
826