]> git.mxchange.org Git - friendica.git/commitdiff
fix errors in BaseModel
authorArt4 <art4@wlabs.de>
Sun, 1 Dec 2024 20:51:57 +0000 (20:51 +0000)
committerArt4 <art4@wlabs.de>
Sun, 1 Dec 2024 20:51:57 +0000 (20:51 +0000)
src/BaseModel.php

index d7c4fae708433e7dff7312a1fa4d765cbd83a773..e79270843f148a69c8bdaa6fe8ca00d20b4562be 100644 (file)
@@ -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 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
 {
@@ -41,8 +41,6 @@ abstract class BaseModel extends BaseDataTransferObject
     private $originalData = [];
 
        /**
-        * @param Database        $dba
-        * @param LoggerInterface $logger
         * @param array           $data   Table row attributes
         */
        public function __construct(Database $dba, LoggerInterface $logger, array $data = [])