Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zluiten committed Jun 20, 2016
1 parent 88f93fa commit 6a6dd8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/SaveHandler/DbTableGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ public function write($id, $data)
public function destroy($id)
{
$exists = (bool) $this->read($id);

$deleted = (bool) $this->tableGateway->delete([
$this->options->getIdColumn() => $id,
$this->options->getNameColumn() => $this->sessionName,
]);
]);

return $exists ? $deleted : true;
}

Expand Down
2 changes: 1 addition & 1 deletion test/SaveHandler/DbTableGatewayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class DbTableGatewayTest extends \PHPUnit_Framework_TestCase

/**
* Test data container.
*
*
* @var array
*/
private $testArray;
Expand Down

0 comments on commit 6a6dd8d

Please sign in to comment.