avoid strict standard errors by dropping abstract static

This commit is contained in:
Gilles Crettenand
2015-05-07 10:56:05 +02:00
parent 0c99dd431e
commit 44d52c107f

View File

@@ -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;