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

Closed
opened 2026-01-22 13:41:00 +01:00 by admin · 2 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:41:00 +01:00
admin closed this issue 2026-01-22 13:41:01 +01:00
Author
Owner

@doctrinebot commented on GitHub (Feb 29, 2012):

Comment created by faaliyet:

-Open the file ORM/QueryBuilder.php

#find:
} else if (\is_object($elements)) {

#replace with:
} elseif (is_object($elements)) {

@doctrinebot commented on GitHub (Feb 29, 2012): Comment created by faaliyet: -Open the file ORM/QueryBuilder.php #find: } else if (\is_object($elements)) { #replace with: } elseif (is_object($elements)) {
Author
Owner

@doctrinebot commented on GitHub (Feb 29, 2012):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Feb 29, 2012): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2104