avoid strict standard errors by dropping abstract static

master
Gilles Crettenand 11 years ago
parent 0c99dd431e
commit 44d52c107f

@ -108,7 +108,9 @@ abstract class DbMapping
* @param int $id * @param int $id
* @return DbMapping * @return DbMapping
*/ */
abstract public static function find($id); public static function find($id) {
throw new RuntimeException("This method must be implemented in child classes.");
}
/** /**
* Return all the public attributes in an array; * Return all the public attributes in an array;

Loading…
Cancel
Save