Completed
Pull Request — master (#4)
by
unknown
02:45
created
src/Departements/Datasource/AbstractDatasource.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.