niezgodność typów argumentów metody, error: must be an instance of string, string given - wtf? |
niezgodność typów argumentów metody, error: must be an instance of string, string given - wtf? |
20.04.2007, 19:14:05
Post
#1
|
|
Grupa: Zarejestrowani Postów: 5 Pomógł: 0 Dołączył: 7.06.2006 Skąd: Coventry, UK Ostrzeżenie: (0%) |
cześć,
mam interfejs:
i implementację w MySQLUserDAO. testuję to sobie i dostaję taki błąd: Cytat Argument 1 passed to MySQLUserDAO::findUsersByFornameSurnameOrEmail() must be an instance of string, string given, called in (...) wywołanie w teście wygląda tak:
czy te typy argumentów to muszą być typy zdefiniowane przeze mnie, a nie wbudowane w PHP? Ten post edytował Can I 20.04.2007, 19:18:53 -------------------- stay all night, we're save the population
flash / flex / web developer |
|
|
Wersja Lo-Fi | Aktualny czas: 26.04.2024 - 11:12 |