@@ -83,7 +83,7 @@ public static function getData(array $providers, $name, Url $url = null)
8383 if (!isset ($ values [$ v ])) {
8484 $ values [$ v ] = [
8585 'value ' => $ v ,
86- 'providers ' => [$ key ]
86+ 'providers ' => [$ key ],
8787 ];
8888 } else {
8989 $ values [$ v ]['providers ' ][] = $ key ;
@@ -121,8 +121,8 @@ public static function sortByProviders(array $values)
121121 /**
122122 * Unshifts a new value if it does not exists
123123 *
124- * @param array $values The array provided by self::getData()
125- * @param array $value The value to insert
124+ * @param array $values The array provided by self::getData()
125+ * @param array $value The value to insert
126126 */
127127 public static function unshiftValue (array &$ values , $ value )
128128 {
@@ -142,9 +142,9 @@ public static function unshiftValue(array &$values, $value)
142142 /**
143143 * Search by a value and returns its key
144144 *
145- * @param array $values The array provided by self::getData()
146- * @param string $value The value to search
147- * @param boolean $returnKey Whether or not return the key instead the value
145+ * @param array $values The array provided by self::getData()
146+ * @param string $value The value to search
147+ * @param boolean $returnKey Whether or not return the key instead the value
148148 *
149149 * @return array|false
150150 */
@@ -177,7 +177,7 @@ public static function getFirstValue(array $values, $returnKey = false)
177177 /**
178178 * Returns the most popular value in an array
179179 *
180- * @param array $values The array provided by self::getData()
180+ * @param array $values The array provided by self::getData()
181181 * @param boolean $returnKey Whether or not return the key instead the value
182182 *
183183 * @return mixed
@@ -200,7 +200,7 @@ public static function getMostPopularValue(array $values, $returnKey = false)
200200 /**
201201 * Returns the bigger value
202202 *
203- * @param array $values The array provided by self::getData()
203+ * @param array $values The array provided by self::getData()
204204 * @param boolean $returnKey Whether or not return the key instead the value
205205 *
206206 * @return null|string
0 commit comments