1
0
mirror of synced 2025-02-09 08:49:26 +03:00

Remove unneeded ternary operator from Query::contains

This commit is contained in:
Gabriel Potkány 2016-08-16 01:31:46 +02:00
parent 31a0c02b06
commit 75f44008d6

View File

@ -561,7 +561,7 @@ final class Query extends AbstractQuery
*/
public function contains($dql)
{
return stripos($this->getDQL(), $dql) === false ? false : true;
return stripos($this->getDQL(), $dql) !== false;
}
/**