Fix "Access to undefined property" rule violations

This commit is contained in:
Tautvidas Sipavičius
2019-01-23 11:33:47 +02:00
parent b2bb7b0023
commit 9f13f68e39
25 changed files with 75 additions and 8 deletions

View File

@ -77,6 +77,7 @@ if(!defined('ABSPATH')) exit;
class Model extends \Sudzy\ValidModel {
const DUPLICATE_RECORD = 23000;
public static $_table;
protected $_errors;
protected $_new_record;
@ -311,4 +312,4 @@ class Model extends \Sudzy\ValidModel {
$this->setError($this->getValidationErrors());
return $success;
}
}
}