for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Nip\Collections\Lazy\Traits;
/**
* Trait CheckLoadedFunctionsTrait
* @package Nip\Collections\Lazy\Traits
* @internal
*/
trait CheckLoadedFunctionsTrait
{
* @inheritDoc
public function offsetSet($key, $value)
$this->load();
load()
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 */
load();
return parent::offsetSet($key, $value);
}
public function offsetGet($key)
return parent::offsetGet($key);
public function offsetExists($key)
return parent::offsetExists($key);
public function offsetUnset($key)
return parent::offsetUnset($key);
public function filter(callable $callback = null)
return parent::filter($callback);
public function count()
return parent::count();