mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-16 18:25:00 -06:00
Merge pull request #7017 from firefly-iii/patch-1
Restore missing method.
This commit is contained in:
commit
68222e20f7
@ -31,3 +31,5 @@ SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|||||||
# Do static code analysis.
|
# Do static code analysis.
|
||||||
# ./vendor/bin/phpstan analyse -c .ci/phpstan.neon --no-progress
|
# ./vendor/bin/phpstan analyse -c .ci/phpstan.neon --no-progress
|
||||||
./vendor/bin/phpstan analyse -c .ci/phpstan.neon --xdebug --error-format=table > phpstan-report.txt
|
./vendor/bin/phpstan analyse -c .ci/phpstan.neon --xdebug --error-format=table > phpstan-report.txt
|
||||||
|
|
||||||
|
echo 'The PHPstan report can be found in phpstan-report.txt'
|
||||||
|
@ -73,11 +73,14 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
private int $limit;
|
private int $limit;
|
||||||
private Collection $operators;
|
private Collection $operators;
|
||||||
private int $page;
|
private int $page;
|
||||||
private array $prohibitedWords;
|
protected Carbon $date;
|
||||||
private float $startTime;
|
|
||||||
private TagRepositoryInterface $tagRepository;
|
|
||||||
private array $validOperators;
|
private array $prohibitedWords;
|
||||||
private array $words;
|
private float $startTime;
|
||||||
|
private TagRepositoryInterface $tagRepository;
|
||||||
|
private array $validOperators;
|
||||||
|
private array $words;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OperatorQuerySearch constructor.
|
* OperatorQuerySearch constructor.
|
||||||
@ -113,7 +116,6 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
|
|
||||||
*/
|
*/
|
||||||
public function getModifiers(): Collection
|
public function getModifiers(): Collection
|
||||||
{
|
{
|
||||||
@ -122,7 +124,6 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
|
|
||||||
*/
|
*/
|
||||||
public function getOperators(): Collection
|
public function getOperators(): Collection
|
||||||
{
|
{
|
||||||
@ -131,7 +132,6 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
|
|
||||||
*/
|
*/
|
||||||
public function getWordsAsString(): string
|
public function getWordsAsString(): string
|
||||||
{
|
{
|
||||||
@ -140,7 +140,6 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
|
|
||||||
*/
|
*/
|
||||||
public function hasModifiers(): bool
|
public function hasModifiers(): bool
|
||||||
{
|
{
|
||||||
@ -1990,7 +1989,6 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
|
|
||||||
*/
|
*/
|
||||||
public function searchTime(): float
|
public function searchTime(): float
|
||||||
{
|
{
|
||||||
@ -2019,7 +2017,6 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
|
|
||||||
*/
|
*/
|
||||||
public function setPage(int $page): void
|
public function setPage(int $page): void
|
||||||
{
|
{
|
||||||
@ -2029,7 +2026,6 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
|
|
||||||
*/
|
*/
|
||||||
public function setUser(User $user): void
|
public function setUser(User $user): void
|
||||||
{
|
{
|
||||||
@ -2053,4 +2049,12 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
$this->limit = $limit;
|
$this->limit = $limit;
|
||||||
$this->collector->setLimit($this->limit);
|
$this->collector->setLimit($this->limit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param Carbon $date
|
||||||
|
*/
|
||||||
|
public function setDate(Carbon $date): void
|
||||||
|
{
|
||||||
|
$this->date = $date;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user