Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 38... Línea 38...
38
     * @dataProvider pathname_provider
38
     * @dataProvider pathname_provider
39
     *
39
     *
40
     * @param string $string   Parameter sent to mangle_pathname method.
40
     * @param string $string   Parameter sent to mangle_pathname method.
41
     * @param string $expected Expected return value.
41
     * @param string $expected Expected return value.
42
     */
42
     */
43
    public function test_mangle_pathname($string, $expected) {
43
    public function test_mangle_pathname($string, $expected): void {
44
        $ziparchive = new zip_archive();
44
        $ziparchive = new zip_archive();
Línea 45... Línea 45...
45
 
45
 
Línea 46... Línea 46...
46
        $method = new \ReflectionMethod('zip_archive', 'mangle_pathname');
46
        $method = new \ReflectionMethod('zip_archive', 'mangle_pathname');