File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ Command | Description
62
62
` $table->string('name', 100); ` | VARCHAR equivalent with a length
63
63
` $table->integer('votes'); ` | INTEGER equivalent to the table
64
64
` $table->float('amount'); ` | FLOAT equivalent to the table
65
+ ` $table->decimal('amount', 5, 2); ` | DECIMAL equivalent with a precision and scale
65
66
` $table->boolean('confirmed'); ` | BOOLEAN equivalent to the table
66
67
` $table->date('created_at'); ` | DATE equivalent to the table
67
68
` $table->timestamp('added_on'); ` | TIMESTAMP equivalent to the table
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ protected static function build($type, $parameters = array())
159
159
// no binding registered for the abstraction so we need to bail out.
160
160
if ( ! $ reflector ->isInstantiable ())
161
161
{
162
- throw new Exception ("Resolution target [ $ type] is not instantiable. " );
162
+ throw new \ Exception ("Resolution target [ $ type] is not instantiable. " );
163
163
}
164
164
165
165
$ constructor = $ reflector ->getConstructor ();
@@ -196,7 +196,7 @@ protected static function dependencies($parameters)
196
196
// we'll just bomb out with an error since we have nowhere to go.
197
197
if (is_null ($ dependency ))
198
198
{
199
- throw new Exception ("Unresolvable dependency resolving [ $ parameter]. " );
199
+ throw new \ Exception ("Unresolvable dependency resolving [ $ parameter]. " );
200
200
}
201
201
202
202
$ dependencies [] = static ::resolve ($ dependency ->name );
You can’t perform that action at this time.
0 commit comments