Commit 17e75a97 authored by Chris Berthe's avatar Chris Berthe

Merge remote-tracking branch 'upstream/develop' into develop

parents 8e5f1dd6 681f80ea
......@@ -4,7 +4,7 @@
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @version 3.2.2
* @version 3.2.3
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
*/
......
......@@ -89,7 +89,7 @@ class Belongs_To extends Relationship {
foreach ($children as &$child)
{
$parent = array_first($parents, function($k, $v) use ($child, $foreign)
$parent = array_first($parents, function($k, $v) use (&$child, $foreign)
{
return $v->get_key() == $child->$foreign;
});
......
......@@ -93,7 +93,7 @@ class Has_Many extends Has_One_Or_Many {
foreach ($parents as &$parent)
{
$matching = array_filter($children, function($v) use ($parent, $foreign)
$matching = array_filter($children, function($v) use (&$parent, $foreign)
{
return $v->$foreign == $parent->get_key();
});
......
......@@ -327,7 +327,7 @@ class Has_Many_And_Belongs_To extends Relationship {
foreach ($parents as &$parent)
{
$matching = array_filter($children, function($v) use ($parent, $foreign)
$matching = array_filter($children, function($v) use (&$parent, $foreign)
{
return $v->pivot->$foreign == $parent->get_key();
});
......
......@@ -40,7 +40,7 @@ class Has_One extends Has_One_Or_Many {
foreach ($parents as &$parent)
{
$matching = array_first($children, function($k, $v) use ($parent, $foreign)
$matching = array_first($children, function($k, $v) use (&$parent, $foreign)
{
return $v->$foreign == $parent->get_key();
});
......
......@@ -2,6 +2,8 @@
## Contents
- [Laravel 3.2.3](#3.2.3)
- [Upgrading From 3.2.2](#upgrade-3.2.3)
- [Laravel 3.2.2](#3.2.2)
- [Upgrading From 3.2.1](#upgrade-3.2.2)
- [Laravel 3.2.1](#3.2.1)
......@@ -29,6 +31,17 @@
- [Laravel 3.1](#3.1)
- [Upgrading From 3.0](#upgrade-3.1)
<a name="3.2.3"></a>
## Laravel 3.2.3
- Fixed eager loading bug in Eloquent.
- Added `laravel.resolving` event for all IoC resolutions.
<a name="upgrade-3.2.3"></a>
## Upgrading From 3.2.2
- Replace the **laravel** folder.
<a name="3.2.2"></a>
## Laravel 3.2.2
......
......@@ -129,6 +129,8 @@ class IoC {
static::$singletons[$type] = $object;
}
Event::fire('laravel.resolving', array($type, $object));
return $object;
}
......
......@@ -3,7 +3,7 @@
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @version 3.2.2
* @version 3.2.3
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
*/
......
......@@ -3,7 +3,7 @@
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @version 3.2.2
* @version 3.2.3
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment