Skip to content

Commit 241932f

Browse files
committed
Update doc blocks
1 parent 5bb5b81 commit 241932f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/CurrencyCast.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function get($model, $key, $value, $attributes)
3636
*
3737
* @param Model $model
3838
* @param string $key
39-
* @param Money|null $value
39+
* @param Money $value
4040
* @param array $attributes
4141
* @return string
4242
* @throws Exception

src/NullableCurrencyCast.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Brick\Money\Exception\UnknownCurrencyException;
66
use Brick\Money\Money;
7+
use Exception;
78
use Illuminate\Database\Eloquent\Model;
89

910
class NullableCurrencyCast extends CurrencyCast
@@ -35,6 +36,7 @@ public function get($model, $key, $value, $attributes)
3536
* @param Money|null $value
3637
* @param array $attributes
3738
* @return string|null
39+
* @throws Exception
3840
*/
3941
public function set($model, $key, $value, $attributes)
4042
{

0 commit comments

Comments
 (0)