'12345678' of type string is incompatible with the type Pronamic\WordPress\Pay\G...\Payvision\TrackingCode expected by parameter $tracking_code of Pronamic\WordPress\Pay\G...nsaction::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
It seems like $json_string can also be of type false; however, parameter $actualJson of PHPUnit\Framework\Assert...nStringEqualsJsonFile() does only seem to accept string, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation