| @@ -29,6 +29,9 @@ discard block | ||
| 29 | 29 |          return preg_replace("/[^a-z0-9]/", "", $value); | 
| 30 | 30 | } | 
| 31 | 31 | |
| 32 | + /** | |
| 33 | + * @param string $type | |
| 34 | + */ | |
| 32 | 35 |      protected function addToIndex($type, $value, $key) { | 
| 33 | 36 | $this->index[$type][$this->slugify($value)] = $key; | 
| 34 | 37 | } | 
| @@ -89,6 +92,9 @@ discard block | ||
| 89 | 92 | return $this->regions->get($regionCode)->getOrElse(null); | 
| 90 | 93 | } | 
| 91 | 94 | |
| 95 | + /** | |
| 96 | + * @param Map $collection | |
| 97 | + */ | |
| 92 | 98 |      protected function sortByValue($collection) { | 
| 93 | 99 |          $collator = new \Collator('fr_FR'); | 
| 94 | 100 | |