for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace yiicod\mailqueue\events;
use yii\base\Event;
use yiicod\mailqueue\models\MailRepositoryInterface;
class DeliveryEvent extends Event
{
/**
* @var MailRepositoryInterface
*/
public $models;
public function __construct(array $models, array $config = [])
$this->models = $models;
$models
array
object<yiicod\mailqueue\...ailRepositoryInterface>
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
parent::__construct($config);
}
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..