Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot declare self-referencing constant 'Doctrine_Query::STATE_CLEAN' #42

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Doctrine/Query/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ abstract class Doctrine_Query_Abstract
/**
* @var integer $_state The current state of this query.
*/
protected $_state = Doctrine_Query::STATE_CLEAN;
protected $_state = Doctrine_Query_Abstract::STATE_CLEAN;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe self::STATE_CLEAN is better?


/**
* @var array $_params The parameters of this query.
Expand Down