Fix type specification in DowntimestarthistoryQuery

refs #4190
This commit is contained in:
Johannes Meyer 2013-10-22 17:05:25 +02:00
parent f93d67dfa3
commit b168cf878d
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ class TreeToSqlParser
/**
* The query class to use as the base for converting
*
* @var AbstractQuery
* @var BaseQuery
*/
private $query;
@ -54,7 +54,7 @@ class TreeToSqlParser
/**
* Create a new converter from this query
*
* @param AbstractQuery $query The query to use for conversion
* @param BaseQuery $query The query to use for conversion
*/
public function __construct(BaseQuery $query)
{

View File

@ -10,7 +10,7 @@ class DowntimestarthistoryQuery extends IdoQuery
'timestamp' => 'UNIX_TIMESTAMP(actual_start_time)',
'raw_timestamp' => 'actual_start_time',
'object_id' => 'object_id',
'type' => "('dt_end')",
'type' => "('dt_start')",
'state' => '(NULL)',
'state_type' => '(NULL)',
'output' => "('[' || author_name || '] ' || comment_data)",