Skip to content

Commit

Permalink
Stupid dev.
Browse files Browse the repository at this point in the history
  • Loading branch information
hichxm committed Feb 21, 2018
1 parent 54555a2 commit d802f2a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions DOC.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## Table of contents

- [\Hichxm\WarGaming\WorgamingWotApi](#class-hichxmwargamingworgamingwotapi)
- [\Hichxm\WarGaming\WargamingWotApi](#class-hichxmwargamingwargamingwotapi)
- [\Hichxm\WarGaming\WargamingApi](#class-hichxmwargamingwargamingapi)

<hr />

### Class: \Hichxm\WarGaming\WorgamingWotApi
### Class: \Hichxm\WarGaming\WargamingWotApi

| Visibility | Function |
|:-----------|:---------|
Expand Down
2 changes: 1 addition & 1 deletion src/wargaming-wot.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Exception;
use GuzzleHttp\Client;

class WorgamingWotApi
class WargamingWotApi
{

private $key;
Expand Down
16 changes: 8 additions & 8 deletions tests/testWargamingWotApi.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Hichxm\WarGaming\WorgamingWotApi;
use Hichxm\WarGaming\WargamingWotApi;
use PHPUnit\Framework\TestCase;

class testWargamingWotApi extends TestCase{
Expand All @@ -10,7 +10,7 @@ class testWargamingWotApi extends TestCase{
*/
public function check_namespace_work()
{
$wot = new WorgamingWotApi("e9807cace93606169c54fb8e9ec763b2", "eu");
$wot = new WargamingWotApi("e9807cace93606169c54fb8e9ec763b2", "eu");

$this->assertTrue(true);
}
Expand All @@ -21,7 +21,7 @@ public function check_namespace_work()
*/
public function check_search_player_work_with_default_options()
{
$wot = new WorgamingWotApi("e9807cace93606169c54fb8e9ec763b2", "eu");
$wot = new WargamingWotApi("e9807cace93606169c54fb8e9ec763b2", "eu");

$players = $wot->searchPlayers("volca780");

Expand All @@ -35,7 +35,7 @@ public function check_search_player_work_with_default_options()
*/
public function check_search_player_work_with_custom_options()
{
$wot = new WorgamingWotApi("e9807cace93606169c54fb8e9ec763b2", "ru");
$wot = new WargamingWotApi("e9807cace93606169c54fb8e9ec763b2", "ru");

$players = $wot->searchPlayers("vol", [
"limit" => 5,
Expand All @@ -53,7 +53,7 @@ public function check_search_player_work_with_custom_options()
*/
public function check_info_player_work_with_default_options()
{
$wot = new WorgamingWotApi("e9807cace93606169c54fb8e9ec763b2", "eu");
$wot = new WargamingWotApi("e9807cace93606169c54fb8e9ec763b2", "eu");

$players = $wot->infoPlayersById(["500080014", "514444123"]);

Expand All @@ -67,7 +67,7 @@ public function check_info_player_work_with_default_options()
public function check_players_vehicules_with_default_option()
{
//Init Wargaming.net api key and region
$wot = new WorgamingWotApi("e9807cace93606169c54fb8e9ec763b2", "eu");
$wot = new WargamingWotApi("e9807cace93606169c54fb8e9ec763b2", "eu");

$players = $wot->playersTank(["500450795", "503197062", "500435236"]);

Expand All @@ -81,7 +81,7 @@ public function check_players_vehicules_with_default_option()
public function check_players_vehicules_with_custom_option()
{
//Init Wargaming.net api key and region
$wot = new WorgamingWotApi("e9807cace93606169c54fb8e9ec763b2", "eu");
$wot = new WargamingWotApi("e9807cace93606169c54fb8e9ec763b2", "eu");

$players = $wot->playersTank(["500450795", "503197062", "500435236"], [
"tanks" => ["2849", "10785"]
Expand All @@ -96,7 +96,7 @@ public function check_players_vehicules_with_custom_option()
*/
public function check_achivement_player_work_with_default_options()
{
$wot = new WorgamingWotApi("e9807cace93606169c54fb8e9ec763b2", "eu");
$wot = new WargamingWotApi("e9807cace93606169c54fb8e9ec763b2", "eu");

$players = $wot->playerAchievement(["500080014", "514444123"]);

Expand Down

0 comments on commit d802f2a

Please sign in to comment.