Skip to content

Commit 463d9f1

Browse files
committed
Chore(deps) - Fixed type issues that PHPStan 2.0.1 reported
1 parent c82d56d commit 463d9f1

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

src/Command/Utils/CreateDateDimensionEntitiesCommand.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@ private function createEntities(int $yearEnd, DateTime $dateStart, ProgressBar $
168168

169169
/**
170170
* Getter method for year start validator closure.
171-
*
172-
* @throws InvalidArgumentException
173171
*/
174172
private function validatorYearStart(): Closure
175173
{

src/Entity/Traits/LogEntityTrait.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,6 @@ private function processRequestData(Request $request): void
129129
$this->agent = $request->headers->get('User-Agent') ?? '';
130130
}
131131

132-
/**
133-
* @throws Throwable
134-
*/
135132
#[ORM\PrePersist]
136133
private function processTimeAndDate(): void
137134
{

src/Rest/ControllerCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @method ControllerInterface get(string $className)
2525
* @method IteratorAggregate<int, ControllerInterface> getAll()
2626
*
27-
* @template T<ControllerInterface>
27+
* @template T of ControllerInterface
2828
*/
2929
class ControllerCollection implements Countable
3030
{

0 commit comments

Comments
 (0)