for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Broadcasting;
use App\Models\ImportJob;
use App\Models\User;
class Notification
{
/**
* Authenticate the user's access to the channel.
*
* @return array|bool
*/
public function join(User $user)
$user
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function join(/** @scrutinizer ignore-unused */ User $user)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
}
* The user imports Gedcom progress.
* @param \App\Models\ImportJob
public function import(ImportJob $job)
$job
public function import(/** @scrutinizer ignore-unused */ ImportJob $job)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.