Closed riccardobosini closed 1 year ago
Hi @riccardobosini
I stumbled upon this report, and briefly looking at it, it feels you would get more adequate help if you open the issue in the laravel-money
package, as this particular issue may be originating there.
Hi @riccardobosini
I stumbled upon this report, and briefly looking at it, it feels you would get more adequate help if you open the issue in the
laravel-money
package, as this particular issue may be originating there.
The following is the warning that shows up. The laravel-money version is v6.4.0
.
I already opened an issue also in the laravel-money
package, but I think finally some checks and fixes on both sides will be required.
Sorry, cannot provide support for facades, IDEs and frameworks. No time. Good luck!
Good morning, I'm writing cause I've the following issue. I've a project with installed this package laravel-money that abstracts this project. Let's suppose this code:
In my case PHPStorm highlight the last row showing this message:
Expected parameter of type '\Money\Money', '\Cknow\Money\Money|null' provided
. It expects that the parameter passed to theadd
method to be of type\Money\Money
.It's annoying cause working with amounts the screen is full of warnings.
Can you please help me about this? Thanks in advance.