mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 17:52:45 +01:00
10 lines
175 B
Markdown
10 lines
175 B
Markdown
# InvalidParamDefault
|
|
|
|
Emitted when a function parameter default clashes with the type Psalm expects the param to be
|
|
|
|
```php
|
|
<?php
|
|
|
|
function foo(int $i = false) : void {}
|
|
```
|