1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__serveur-vote-lalis/include/Condorcet/Documentation/Result Class/public Result--getWarning.md

20 lines
444 B
Markdown
Raw Normal View History

2022-09-21 12:39:11 +02:00
## public Result::getWarning
### Description
```php
public Result->getWarning ( [?int $type = null] ): array
```
From native methods: only Kemeny-Young use it to inform about a conflict during the computation process.
##### **type:** *```?int```*
Filter on a specific warning type code.
### Return value:
*(```array```)* Warnings provided by the by the method that generated the warning. Empty array if there is not.