Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 62... Línea 62...
62
     *
62
     *
63
     * @param engine $engine Optional engine parameter, if not specified then one will be created
63
     * @param engine $engine Optional engine parameter, if not specified then one will be created
64
     * @throws \moodle_exception
64
     * @throws \moodle_exception
65
     * @return void
65
     * @return void
66
     */
66
     */
67
    public function __construct(engine $engine = null) {
67
    public function __construct(?engine $engine = null) {
68
        if (!$this->config = get_config('search_solr')) {
68
        if (!$this->config = get_config('search_solr')) {
69
            throw new \moodle_exception('missingconfig', 'search_solr');
69
            throw new \moodle_exception('missingconfig', 'search_solr');
70
        }
70
        }
Línea 71... Línea 71...
71
 
71