Fixed an error so the return of create is stored in $number in CollectionFactory.php