Skip to content

Commit 43614cf

Browse files
committed
Merge branch 'develop' of github.com:laravel/laravel into develop
2 parents 749948b + 4d25f50 commit 43614cf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

laravel/documentation/database/schema.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Command | Description
6262
`$table->string('name', 100);` | VARCHAR equivalent with a length
6363
`$table->integer('votes');` | INTEGER equivalent to the table
6464
`$table->float('amount');` | FLOAT equivalent to the table
65+
`$table->decimal('amount', 5, 2);` | DECIMAL equivalent with a precision and scale
6566
`$table->boolean('confirmed');` | BOOLEAN equivalent to the table
6667
`$table->date('created_at');` | DATE equivalent to the table
6768
`$table->timestamp('added_on');` | TIMESTAMP equivalent to the table

laravel/ioc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ protected static function build($type, $parameters = array())
159159
// no binding registered for the abstraction so we need to bail out.
160160
if ( ! $reflector->isInstantiable())
161161
{
162-
throw new Exception("Resolution target [$type] is not instantiable.");
162+
throw new \Exception("Resolution target [$type] is not instantiable.");
163163
}
164164

165165
$constructor = $reflector->getConstructor();
@@ -196,7 +196,7 @@ protected static function dependencies($parameters)
196196
// we'll just bomb out with an error since we have nowhere to go.
197197
if (is_null($dependency))
198198
{
199-
throw new Exception("Unresolvable dependency resolving [$parameter].");
199+
throw new \Exception("Unresolvable dependency resolving [$parameter].");
200200
}
201201

202202
$dependencies[] = static::resolve($dependency->name);

0 commit comments

Comments
 (0)