@@ -83,7 +83,7 @@ public static function getData(array $providers, $name, Url $url = null)
83
83
if (!isset ($ values [$ v ])) {
84
84
$ values [$ v ] = [
85
85
'value ' => $ v ,
86
- 'providers ' => [$ key ]
86
+ 'providers ' => [$ key ],
87
87
];
88
88
} else {
89
89
$ values [$ v ]['providers ' ][] = $ key ;
@@ -121,8 +121,8 @@ public static function sortByProviders(array $values)
121
121
/**
122
122
* Unshifts a new value if it does not exists
123
123
*
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
126
126
*/
127
127
public static function unshiftValue (array &$ values , $ value )
128
128
{
@@ -142,9 +142,9 @@ public static function unshiftValue(array &$values, $value)
142
142
/**
143
143
* Search by a value and returns its key
144
144
*
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
148
148
*
149
149
* @return array|false
150
150
*/
@@ -177,7 +177,7 @@ public static function getFirstValue(array $values, $returnKey = false)
177
177
/**
178
178
* Returns the most popular value in an array
179
179
*
180
- * @param array $values The array provided by self::getData()
180
+ * @param array $values The array provided by self::getData()
181
181
* @param boolean $returnKey Whether or not return the key instead the value
182
182
*
183
183
* @return mixed
@@ -200,7 +200,7 @@ public static function getMostPopularValue(array $values, $returnKey = false)
200
200
/**
201
201
* Returns the bigger value
202
202
*
203
- * @param array $values The array provided by self::getData()
203
+ * @param array $values The array provided by self::getData()
204
204
* @param boolean $returnKey Whether or not return the key instead the value
205
205
*
206
206
* @return null|string
0 commit comments