Skip to content

Commit

Permalink
Change namespace to xPaw\Steam
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Nov 2, 2024
1 parent d7e9b80 commit af69924
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .test.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

use xPaw\SteamID\SteamID;
use xPaw\Steam\SteamID;

class SteamIDFacts extends PHPUnit\Framework\TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion Example.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use xPaw\SteamID\SteamID;
use xPaw\Steam\SteamID;

require __DIR__ . '/vendor/autoload.php';

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ multiple examples on how to manipulate SteamIDs.
### Example

```php
use xPaw\Steam\SteamID;

try
{
// Constructor also accepts Steam3 and Steam2 representations
Expand Down Expand Up @@ -70,6 +72,8 @@ can manipulate given SteamID and set universe to public and instance to
desktop.

```php
use xPaw\Steam\SteamID;

try
{
$s = new SteamID( $ID );
Expand Down
2 changes: 1 addition & 1 deletion VanityURLs.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use xPaw\SteamID\SteamID;
use xPaw\Steam\SteamID;

require __DIR__ . '/vendor/autoload.php';

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{
"psr-4":
{
"xPaw\\SteamID\\": "src/"
"xPaw\\Steam\\": "src/"
}
}
}
2 changes: 1 addition & 1 deletion src/SteamID.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace xPaw\SteamID;
namespace xPaw\Steam;

use \InvalidArgumentException;

Expand Down

0 comments on commit af69924

Please sign in to comment.