DDC-3741: [GH-1411] Allow null to be passed to setHydrationCacheProfile #4590

Closed
opened 2026-01-22 14:45:31 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (May 20, 2015).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of icambridge:

Url: https://github.com/doctrine/doctrine2/pull/1411

Message:

Currently null can be passed and is set as default, however if you do this you get an exception. This allows null to be passed and set.

There is an if statement later on to see if $this->_hydrationCacheProfile is null so it seems logical you can set it to be null.

Originally created by @doctrinebot on GitHub (May 20, 2015). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of icambridge: Url: https://github.com/doctrine/doctrine2/pull/1411 Message: Currently null can be passed and is set as default, however if you do this you get an exception. This allows null to be passed and set. There is an if statement later on to see if $this->_hydrationCacheProfile is null so it seems logical you can set it to be null.
admin added the Bug label 2026-01-22 14:45:31 +01:00
admin closed this issue 2026-01-22 14:45:31 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jun 16, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1411] was merged:
https://github.com/doctrine/doctrine2/pull/1411

@doctrinebot commented on GitHub (Jun 16, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1411] was merged: https://github.com/doctrine/doctrine2/pull/1411
Author
Owner

@doctrinebot commented on GitHub (Jun 16, 2015):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Jun 16, 2015): 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#4590