src/Points/PointActions.php
Method searchPoints
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function searchPoints($metricId, $search, $by, $limit = 1, $num = 1000, $page = 1)
Avoid too many return
statements within this method. Open
Open
return array_slice($filtered, 0, $limit);