mirror of
https://github.com/friendica/friendica
synced 2024-12-31 22:42:21 +00:00
fix errors in BaseModel
This commit is contained in:
parent
685e058fe6
commit
139ddbd1de
1 changed files with 1 additions and 3 deletions
|
@ -15,7 +15,7 @@ use Psr\Log\LoggerInterface;
|
||||||
* The Model classes inheriting from this abstract class are meant to represent a single database record.
|
* The Model classes inheriting from this abstract class are meant to represent a single database record.
|
||||||
* The associated table name has to be provided in the child class, and the table is expected to have a unique `id` field.
|
* The associated table name has to be provided in the child class, and the table is expected to have a unique `id` field.
|
||||||
*
|
*
|
||||||
* @property int id
|
* @property int $id
|
||||||
*/
|
*/
|
||||||
abstract class BaseModel extends BaseDataTransferObject
|
abstract class BaseModel extends BaseDataTransferObject
|
||||||
{
|
{
|
||||||
|
@ -41,8 +41,6 @@ abstract class BaseModel extends BaseDataTransferObject
|
||||||
private $originalData = [];
|
private $originalData = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Database $dba
|
|
||||||
* @param LoggerInterface $logger
|
|
||||||
* @param array $data Table row attributes
|
* @param array $data Table row attributes
|
||||||
*/
|
*/
|
||||||
public function __construct(Database $dba, LoggerInterface $logger, array $data = [])
|
public function __construct(Database $dba, LoggerInterface $logger, array $data = [])
|
||||||
|
|
Loading…
Reference in a new issue