Skip to content
Permalink
Browse files

Fix tests.

  • Loading branch information...
dereuromark committed Nov 14, 2016
1 parent e7510d8 commit 8cf39663fe11310a5f951d9698f7a3fafb9b57ba
Showing with 4 additions and 5 deletions.
  1. +4 −5 src/ORM/EagerLoadable.php
@@ -211,16 +211,15 @@ public function propertyPath()
*/
public function setCanBeJoined($possible)
{
$this->_canBeJoined = $possible;
$this->_canBeJoined = (bool)$possible;
return $this;
}
/**
* Sets whether or not this level can be fetched using a join.
*
* If called with no arguments it returns the current value.
* Gets whether or not this level can be fetched using a join.
*
* If called with arguments it sets the value.
* As of 3.4.0 the setter part is deprecated, use setCanBeJoined() instead.
*
* @param bool|null $possible The value to set.
@@ -232,7 +231,7 @@ public function canBeJoined($possible = null)
$this->setCanBeJoined($possible);
}
return $this->getCanBeJoined();
return $this->_canBeJoined;
}
/**

0 comments on commit 8cf3966

Please sign in to comment.
You can’t perform that action at this time.