@@ -47,11 +47,11 @@ protected function defaults(): array
4747
4848// methods returning a list of objects
4949assertType ("list<UserForPersistentFactory> " , UserFactory::all ());
50- assertType ("list<UserForPersistentFactory> " , UserFactory::createMany (1 ));
51- assertType ("list<UserForPersistentFactory> " , UserFactory::createRange (1 , 2 ));
50+ assertType ("non-empty- list<UserForPersistentFactory> " , UserFactory::createMany (1 ));
51+ assertType ("non-empty- list<UserForPersistentFactory> " , UserFactory::createRange (1 , 2 ));
5252assertType ("list<UserForPersistentFactory> " , UserFactory::createSequence ([]));
53- assertType ("list<UserForPersistentFactory> " , UserFactory::randomRange (1 , 2 ));
54- assertType ("list<UserForPersistentFactory> " , UserFactory::randomSet (2 ));
53+ assertType ("non-empty- list<UserForPersistentFactory> " , UserFactory::randomRange (1 , 2 ));
54+ assertType ("non-empty- list<UserForPersistentFactory> " , UserFactory::randomSet (2 ));
5555assertType ("list<UserForPersistentFactory> " , UserFactory::findBy (['name ' => 'foo ' ]));
5656
5757// methods with FactoryCollection
@@ -78,8 +78,8 @@ protected function defaults(): array
7878assertType ('UserForPersistentFactory ' , $ repository ->random ());
7979assertType ("list<UserForPersistentFactory> " , $ repository ->findAll ());
8080assertType ("list<UserForPersistentFactory> " , $ repository ->findBy ([]));
81- assertType ("list<UserForPersistentFactory> " , $ repository ->randomSet (2 ));
82- assertType ("list<UserForPersistentFactory> " , $ repository ->randomRange (1 , 2 ));
81+ assertType ("non-empty- list<UserForPersistentFactory> " , $ repository ->randomSet (2 ));
82+ assertType ("non-empty- list<UserForPersistentFactory> " , $ repository ->randomRange (1 , 2 ));
8383assertType ('int<0, max> ' , $ repository ->count ());
8484
8585// test autocomplete with phpstorm
0 commit comments