Avoid unused local variables
Funnily you introduced this in a "code quality improve commit" (b53efda635
), but Codacy complained about it...
This commit is contained in:
parent
6b20836461
commit
e70159c1bb
|
@ -236,7 +236,7 @@ class modelTest extends PHPUnit_Framework_TestCase
|
||||||
$this->assertTrue($store->exists($ids[$key]), "paste $key exists after storing it");
|
$this->assertTrue($store->exists($ids[$key]), "paste $key exists after storing it");
|
||||||
}
|
}
|
||||||
$this->_model->purge(10);
|
$this->_model->purge(10);
|
||||||
foreach ($ids as $key => $id)
|
foreach ($ids as $key)
|
||||||
{
|
{
|
||||||
if (in_array($key, array('x', 'y', 'z')))
|
if (in_array($key, array('x', 'y', 'z')))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue