Fix some regresions

This commit is contained in:
Matias De lellis committed 2021-09-20 21:26:25 -03:00
1 parent 2d0d3fc975
commit eaa68be517
5 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ use OCP\AppFramework\Db\Entity;
/**
* @method void setColor(string $color)
* @method strinf getColor()
* @method string getColor()
*/
class Color extends Entity implements JsonSerializable {
+1 -1
View File
@@ -30,7 +30,7 @@ class ColorMapper extends QBMapper {
$qb->select('*')
->from($this->tableName)
->where(
$qb->expr()->eq('color', $qb->createNamedParameter($color, IQueryBuilder::PARAM_STRING))
$qb->expr()->eq('color', $qb->createNamedParameter($color, IQueryBuilder::PARAM_STR))
);
return $this->findEntity($qb);
}