diff --git a/cli/functions.php b/cli/functions.php index 9741b42..7d38ecb 100644 --- a/cli/functions.php +++ b/cli/functions.php @@ -11,7 +11,7 @@ namespace chillerlan\GW2DBCLI; /** - * Checks wether the script is running in CLI mode. + * Checks whether the script is running in CLI mode. */ if(!function_exists('is_cli')){ function is_cli(){ diff --git a/src/Helpers/Maps/LatLngHelpers.php b/src/Helpers/Maps/LatLngHelpers.php index 9485aff..d82fba0 100644 --- a/src/Helpers/Maps/LatLngHelpers.php +++ b/src/Helpers/Maps/LatLngHelpers.php @@ -3,7 +3,7 @@ * Class LatLngHelpers * * @filesource LatLngHelpers.php - * @package GW2Treasures\GW2Tools\Maps + * @package chillerlan\GW2DB\Helpers\Maps * @created 10.04.2016 * @author Smiley * @copyright 2016 Smiley @@ -19,7 +19,7 @@ class LatLngHelpers{ const CONTINENT_MISTS = 2; const MAX_ZOOM = [ self::CONTINENT_TYRIA => 7, - self::CONTINENT_MISTS => 6, + self::CONTINENT_MISTS => 6, // @todo https://github.com/arenanet/api-cdi/issues/308 ]; /** @@ -43,7 +43,7 @@ public function project(array $point, $zoom, $maxZoom){ * @param int $floorID from API * * @return array - * @throws \GW2Treasures\GW2Tools\Maps\MapsException + * @throws \chillerlan\GW2DB\Helpers\Maps\MapsException */ public function getTiles(array $view, $zoom, $continentID, $floorID){ $tiles = []; diff --git a/src/Updaters/Items/UpdateItemDB.php b/src/Updaters/Items/UpdateItemDB.php index 9763745..cf46f02 100644 --- a/src/Updaters/Items/UpdateItemDB.php +++ b/src/Updaters/Items/UpdateItemDB.php @@ -90,7 +90,7 @@ public function callback($item){ // deep sort the array // https://gitter.im/chillerlan/gw2hero.es?at=56c3dcfbfdaaf5f17c0b331d - $item['data_'.$lang] = array_sort_recursive($item['data_'.$lang]); + $item['data_'.$lang] = \chillerlan\GW2DB\Helpers\array_sort_recursive($item['data_'.$lang]); // strip out weird double spaces from item names // https://gitter.im/arenanet/api-cdi?at=56dc3e56126367383571545d