for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sco\Admin\Component;
use Sco\Admin\Contracts\ComponentInterface;
class Observer
{
public function view(ComponentInterface $component)
$component
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return true;
}
public function create(ComponentInterface $component)
public function edit(ComponentInterface $component)
public function delete(ComponentInterface $component)
public function destroy(ComponentInterface $component)
public function restore(ComponentInterface $component)
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.