Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 334... Línea 334...
334
     * end users and admins should never see these problems!
334
     * end users and admins should never see these problems!
335
     *
335
     *
336
     * @param xmldb_table $xmldb_table optional when object is table
336
     * @param xmldb_table $xmldb_table optional when object is table
337
     * @return string null if ok, error message if problem found
337
     * @return string null if ok, error message if problem found
338
     */
338
     */
339
    public function validateDefinition(xmldb_table $xmldb_table=null) {
339
    public function validateDefinition(?xmldb_table $xmldb_table=null) {
340
        if (!$xmldb_table) {
340
        if (!$xmldb_table) {
341
            return 'Invalid xmldb_index->validateDefinition() call, $xmldb_table is required.';
341
            return 'Invalid xmldb_index->validateDefinition() call, $xmldb_table is required.';
342
        }
342
        }
Línea 343... Línea 343...
343
 
343