for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: arthur
* Date: 27.10.18
* Time: 15:01
*/
namespace Modules\Notification\Traits;
trait ReceivesWebNotifications
{
public function receivesBroadcastNotificationsOn()
return strtolower(get_short_class_name($this)).'.'.$this->getKey();
getKey()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
return strtolower(get_short_class_name($this)).'.'.$this->/** @scrutinizer ignore-call */ getKey();
}