| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare (strict_types = 1); |
||
| 24 | interface BundleEncoderInterface |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @param ResourceBundleInterface $bundle |
||
| 28 | * |
||
| 29 | * @return self |
||
|
|
|||
| 30 | */ |
||
| 31 | public function addBundle(ResourceBundleInterface $bundle): self; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $defaultLocale |
||
| 35 | * |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | public function getStorageData(string $defaultLocale): array; |
||
| 39 | } |
||
| 40 |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.