Add return statement

This commit is contained in:
Joop Schilder 2021-04-28 20:26:18 +02:00
parent aff231bcb6
commit 1d134ed48b

View File

@ -18,7 +18,7 @@ $scraper = new MemoryQVLScraper();
$page = $downloader->download($qualifiedVendorList); $page = $downloader->download($qualifiedVendorList);
$configurations = $scraper->scrape($page); $configurations = $scraper->scrape($page);
$selection = $configurations->filter(static function (MemoryConfiguration $memory) { $selection = $configurations->filter(static function (MemoryConfiguration $memory) {
in_array($memory->numberOfModules, [2, 4]) return in_array($memory->numberOfModules, [2, 4])
&& $memory->totalSize >= 16 && $memory->totalSize >= 16
&& $memory->speed >= 3600 && $memory->speed >= 3600
&& $memory->overclockingVerified; && $memory->overclockingVerified;