Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed Oct 12, 2016
1 parent efc770c commit 814caa6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cli/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand Down
6 changes: 3 additions & 3 deletions src/Helpers/Maps/LatLngHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Class LatLngHelpers
*
* @filesource LatLngHelpers.php
* @package GW2Treasures\GW2Tools\Maps
* @package chillerlan\GW2DB\Helpers\Maps
* @created 10.04.2016
* @author Smiley <[email protected]>
* @copyright 2016 Smiley
Expand All @@ -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
];

/**
Expand All @@ -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 = [];
Expand Down
2 changes: 1 addition & 1 deletion src/Updaters/Items/UpdateItemDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 814caa6

Please sign in to comment.