Skip to content

Commit 6aa535b

Browse files
committed
renaming getArrayValue() method to getAllValues()
1 parent 799a205 commit 6aa535b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Adapters/Adapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public function getType()
207207
*/
208208
public function getTags()
209209
{
210-
return Utils::getArrayValue(Utils::getData($this->providers, 'tags'));
210+
return Utils::getAllValues(Utils::getData($this->providers, 'tags'));
211211
}
212212

213213
/**

src/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public static function getFirstValue(array $values, $returnKey = false)
181181
*
182182
* @return array
183183
*/
184-
public static function getArrayValue(array $values, $returnKey = false)
184+
public static function getAllValues(array $values, $returnKey = false)
185185
{
186186
if ($returnKey){
187187
return array_keys($values);

0 commit comments

Comments
 (0)