Skip to content

Commit

Permalink
Resultset @var shortcut as already in use statement
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Apr 4, 2017
1 parent aa27297 commit d39020d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handler/Writer/Db.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function isExists($errorFile, $errorLine, $errorMessage, $errorUrl)
$select->order($timestamp.' DESC');
$select->limit(1);

/** @var $result \Zend\Db\ResultSet\ResultSet */
/** @var $result ResultSet */
$result = $tableGateway->selectWith($select);
if ($result->count() === 0) {
return false;
Expand Down

0 comments on commit d39020d

Please sign in to comment.