for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace EricMakesStuff\ServerMonitor\Notifications;
abstract class BaseSender implements SendsNotifications
{
const TYPE_SUCCESS = 'success';
const TYPE_ERROR = 'error';
/** @var type */
protected $type;
/** @var string */
protected $subject;
protected $message;
/**
* @param string $type
*
* @return \EricMakesStuff\ServerMonitor\Notifications\SendsNotifications
*/
public function setType($type)
$this->type = $type;
$type
string
object<EricMakesStuff\Se...tor\Notifications\type>
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..
return $this;
}
* @param string $subject
public function setSubject($subject)
$this->subject = $subject;
* @param string $message
public function setMessage($message)
$this->message = $message;
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..