Add visited short URL info to every visit #1594
Annotations
9 errors
|
Run composer stan:
module/Core/src/Visit/Entity/Visit.php#L161
Parameter $visitedShortUrlToArray of method Shlinkio\Shlink\Core\Visit\Entity\Visit::toArray() has invalid type Shlinkio\Shlink\Core\Visit\Entity\VisitedShortUrl.
|
Run composer stan:
module/Core/src/Visit/Transformer/VisitDataTransformer.php#L19
Parameter #1 $visitedShortUrlToArray of method Shlinkio\Shlink\Core\Visit\Entity\Visit::toArray() expects (callable(Shlinkio\Shlink\Core\ShortUrl\Entity\ShortUrl): Shlinkio\Shlink\Core\Visit\Entity\VisitedShortUrl)|null, Closure(Shlinkio\Shlink\Core\ShortUrl\Entity\ShortUrl): array{shortCode: string, domain: string|null, shortUrl: string} given.
|
Run composer stan:
module/Rest/test/Action/Visit/DomainVisitsActionTest.php#L29
Class Shlinkio\Shlink\Rest\Action\Visit\DomainVisitsAction constructor invoked with 2 parameters, 3 required.
|
Run composer stan:
module/Rest/test/Action/Visit/NonOrphanVisitsActionTest.php#L27
Class Shlinkio\Shlink\Rest\Action\Visit\NonOrphanVisitsAction constructor invoked with 1 parameter, 2 required.
|
Run composer stan:
module/Rest/test/Action/Visit/OrphanVisitsActionTest.php#L32
Class Shlinkio\Shlink\Rest\Action\Visit\OrphanVisitsAction constructor invoked with 1 parameter, 2 required.
|
Run composer stan:
module/Rest/test/Action/Visit/ShortUrlVisitsActionTest.php#L30
Class Shlinkio\Shlink\Rest\Action\Visit\ShortUrlVisitsAction constructor invoked with 1 parameter, 2 required.
|
Run composer stan:
module/Rest/test/Action/Visit/TagVisitsActionTest.php#L26
Class Shlinkio\Shlink\Rest\Action\Visit\TagVisitsAction constructor invoked with 1 parameter, 2 required.
|
Run composer stan
The operation was canceled.
|
Loading