for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace BeyondCode\Comments\Traits;
trait CanComment
{
/**
* Check if a comment for a specific model needs to be approved.
* @param mixed $model
* @return bool
*/
public function needsCommentApproval($model): bool
$model
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;
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.