/**
* Used for finding the text for the note
*
* @param int $count The count of installed Extensions
*
* @return string The text for the note
*
* @since 4.0.0
*/
public function getNote(int $count) : string
{
if ($count < 1) {
return 'No extensions were discovered.';
} elseif ($count === 1) {
return $count . ' extension has been discovered.';
} else {
return $count . ' extensions have been discovered.';
}
}