Skip to content

Commit 3b4483d

Browse files
committed
formatting
1 parent f15b0c2 commit 3b4483d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Diff for: src/Illuminate/Database/Schema/Blueprint.php

+7-6
Original file line numberDiff line numberDiff line change
@@ -680,15 +680,16 @@ public function decimal($column, $total = 8, $places = 2)
680680
/**
681681
* Create a new unsigned decimal column on the table.
682682
*
683-
* @param string $column
684-
* @param int $total
685-
* @param int $places
686-
* @param bool $unsigned
683+
* @param string $column
684+
* @param int $total
685+
* @param int $places
687686
* @return \Illuminate\Support\Fluent
688687
*/
689-
public function unsignedDecimal($column, $total = 8, $places = 2, $unsigned = true)
688+
public function unsignedDecimal($column, $total = 8, $places = 2)
690689
{
691-
return $this->addColumn('decimal', $column, compact('total', 'places', 'unsigned'));
690+
return $this->addColumn('decimal', $column, [
691+
'total' => $total, 'places' => $places, 'unsigned' => true,
692+
]);
692693
}
693694

694695
/**

0 commit comments

Comments
 (0)