mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Fix some regresions
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user