for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Config setter (locally affected)
* User: moyo
* Date: 22/03/2018
* Time: 11:16 AM
*/
namespace Carno\Config\Chips;
trait Setter
{
* @param string $key
* @param mixed $val
* @return static
public function set(string $key, $val) : self
$this->reset($key, $val);
reset()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
$this->/** @scrutinizer ignore-call */
reset($key, $val);
return $this;
}