Update film_dao.php

This commit is contained in:
Fernando Méndez 2021-04-13 19:27:26 +02:00 committed by GitHub
parent 9f93a4de17
commit 99f3c33e52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,8 +79,8 @@
} }
//Create a new film Data Transfer Object. //Create a new film Data Transfer Object.
public function loadFilm($id, $tittle, $duration, $language){ public function loadFilm($id, $tittle, $duration, $language, $description){
return new FilmDTO( $id, $tittle, $duration, $language); return new Film_DTO( $id, $tittle, $duration, $language, $description );
} }
} }