@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | - * @return array[] |
|
| 97 | + * @return \array[] |
|
| 98 | 98 | */ |
| 99 | 99 | protected static function dbGetTableFields() { |
| 100 | 100 | return static::db()->schema()->getTableSchema(static::tableName())->fields; |
@@ -118,7 +118,6 @@ discard block |
||
| 118 | 118 | /** |
| 119 | 119 | * Instate ActiveRecord from array of field values - even if it is empty |
| 120 | 120 | * |
| 121 | - * @param array $fields List of field values [$propertyName => $propertyValue] |
|
| 122 | 121 | * |
| 123 | 122 | * @return static |
| 124 | 123 | */ |
@@ -132,7 +131,6 @@ discard block |
||
| 132 | 131 | /** |
| 133 | 132 | * Instate ActiveRecord from array of field values |
| 134 | 133 | * |
| 135 | - * @param array $fields List of field values [$propertyName => $propertyValue] |
|
| 136 | 134 | * |
| 137 | 135 | * @return static|bool |
| 138 | 136 | */ |
@@ -618,7 +616,7 @@ discard block |
||
| 618 | 616 | * DOES NOT override existing values |
| 619 | 617 | * DOES set default values for empty fields |
| 620 | 618 | * |
| 621 | - * @param array $fields List of field values [$fieldName => $fieldValue] |
|
| 619 | + * @param string[] $fields List of field values [$fieldName => $fieldValue] |
|
| 622 | 620 | */ |
| 623 | 621 | protected function fromFields(array $fields) { |
| 624 | 622 | $this->fromProperties(static::translateNames($fields, self::FIELDS_TO_PROPERTIES)); |
@@ -37,7 +37,6 @@ |
||
| 37 | 37 | * TableSchema constructor. |
| 38 | 38 | * |
| 39 | 39 | * @param string $tableName |
| 40 | - * @param \db_mysql|null $db |
|
| 41 | 40 | */ |
| 42 | 41 | public function __construct($tableName, Schema $dbSchema) { |
| 43 | 42 | $this->dbSchema = $dbSchema; |
@@ -41,8 +41,8 @@ |
||
| 41 | 41 | /** |
| 42 | 42 | * Convert $delimiter delimited string to array |
| 43 | 43 | * |
| 44 | - * @param mixed $string |
|
| 45 | - * @param string $delimiter |
|
| 44 | + * @param string $string |
|
| 45 | + * @param string string |
|
| 46 | 46 | * |
| 47 | 47 | * @return array |
| 48 | 48 | */ |