Skip to content

Commit 4842fb2

Browse files
committed
readme
1 parent b82ab1f commit 4842fb2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
![Downloads](https://img.shields.io/packagist/dt/akaunting/laravel-money)
44
![Tests](https://img.shields.io/github/actions/workflow/status/akaunting/laravel-money/tests.yml?label=tests)
55
[![StyleCI](https://github.styleci.io/repos/112121508/shield?style=flat&branch=master)](https://styleci.io/repos/112121508)
6-
[![Check Imports](https://github.com/akaunting/laravel-money/actions/workflows/check_imports.yml/badge.svg?branch=master)](https://github.com/akaunting/laravel-money/actions/workflows/check_imports.yml)
76
[![License](https://img.shields.io/github/license/akaunting/laravel-money)](LICENSE.md)
87

98
This package intends to provide tools for formatting and conversion of monetary values in an easy, yet powerful way for Laravel projects.
@@ -142,13 +141,13 @@ Define the mixin class:
142141
```php
143142
use Akaunting\Money\Money;
144143

145-
class CustomMoney
144+
class CustomMoney
146145
{
147146
public function absolute(): Money
148147
{
149148
return $this->isPositive() ? $this : $this->multiply(-1);
150149
}
151-
150+
152151
public static function zero(?string $currency = null): Money
153152
{
154153
return new Money(0, new Currency($currency ?? 'GBP'));

0 commit comments

Comments
 (0)