DDC-1674: (code correction) :: } else if (\is_object($elements)) { #2103

Open
opened 2026-01-22 13:40:57 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Feb 29, 2012).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user faaliyet:

I was thinking to use that in my application.
I've just downloaded Doctrine to see source codes to check the code quality.
Just in few seconds ... voila !!!

-Open the file ORM/QueryBuilder.php

find:

} else if (\is_object($elements)) {

replace with:

} elseif (is_object($elements)) {

Originally created by @doctrinebot on GitHub (Feb 29, 2012). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user faaliyet: I was thinking to use that in my application. I've just downloaded Doctrine to see source codes to check the code quality. Just in few seconds ... voila !!! -Open the file ORM/QueryBuilder.php # find: } else if (\is_object($elements)) { # replace with: } elseif (is_object($elements)) {
admin added the Bug label 2026-01-22 13:40:57 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2103