Merge branch 'master' of github.com:laravel/laravel into develop
This commit is contained in:
commit
1ac911f05d
|
@ -53,7 +53,7 @@ public static function sharpen()
|
|||
return;
|
||||
}
|
||||
|
||||
$compiled = path('storage').'views/'.md5($view->path);
|
||||
$compiled = Blade::compiled($view->path);
|
||||
|
||||
// If the view doesn't exist or has been modified since the last time it
|
||||
// was compiled, we will recompile the view into pure PHP from it's
|
||||
|
|
|
@ -138,7 +138,7 @@ public function primary(Table $table, Fluent $command)
|
|||
{
|
||||
$name = $command->name;
|
||||
|
||||
$columns = $this->columnize($command->$columns);
|
||||
$columns = $this->columnize($command->columns);
|
||||
|
||||
return 'ALTER TABLE '.$this->wrap($table)." ADD CONSTRAINT {$name} PRIMARY KEY ({$columns})";
|
||||
}
|
||||
|
|
|
@ -114,7 +114,7 @@ public static function resolve($type, $parameters = array())
|
|||
// its nested dependencies recursively until they are each resolved.
|
||||
if ($concrete == $type or $concrete instanceof Closure)
|
||||
{
|
||||
$object = static::build($concrete);
|
||||
$object = static::build($concrete, $parameters);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue