Add return statement
This commit is contained in:
parent
aff231bcb6
commit
1d134ed48b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user