private function getLanguageRepository(): StaticEntityRepository
{ $language =
new LanguageEntity();
$language->
setId('foo'
);
// @phpstan-ignore-next-line
return new StaticEntityRepository([new LanguageCollection([$language]),
new LanguageCollection([$language])]);
} private function getComposerPackage(): CompletePackage
{ $completePackage =
new CompletePackage('foo', '1.0.0', '1.0.0'
);
$completePackage->
setAutoload([ 'psr-4' =>
[ 'Foo\\' => 'bar',
],
]);
$completePackage->
setExtra([ 'label' =>
[ 'en-GB' => 'foo',
],
'description' =>
[ 'en-GB' => 'foo',
],