for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sco\Admin\View\Extensions;
use Illuminate\Database\Eloquent\Builder;
class Scopes extends Extension
{
public function apply(Builder $query)
$this->each(function ($scope) use ($query) {
$scope
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
});
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.