Skip to content

Commit 5363bf7

Browse files
committed
Remove project version from files
It will better to use git tag
1 parent 224a100 commit 5363bf7

19 files changed

+13
-22
lines changed

src/Authentication/Credential.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* PROJECT: MTA PHP SDK
66
* LICENSE: See LICENSE in the top level directory
77
* FILE: Credential.php
8-
* VERSION: 1.0.0
98
*
109
* Multi Theft Auto is available from http://www.multitheftauto.com/
1110
*

src/Model/Element.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* PROJECT: MTA PHP SDK
66
* LICENSE: See LICENSE in the top level directory
77
* FILE: Element.php
8-
* VERSION: 1.0.0
98
*
109
* Multi Theft Auto is available from http://www.multitheftauto.com/
1110
*

src/Model/Resource.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* PROJECT: MTA PHP SDK
66
* LICENSE: See LICENSE in the top level directory
77
* FILE: Resource.php
8-
* VERSION: 1.0.0
98
*
109
* Multi Theft Auto is available from http://www.multitheftauto.com/
1110
*

src/Model/Resources.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* PROJECT: MTA PHP SDK
66
* LICENSE: See LICENSE in the top level directory
77
* FILE: Resources.php
8-
* VERSION: 1.0.0
98
*
109
* Multi Theft Auto is available from http://www.multitheftauto.com/
1110
*

src/Model/Server.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* PROJECT: MTA PHP SDK
66
* LICENSE: See LICENSE in the top level directory
77
* FILE: Server.php
8-
* VERSION: 1.0.0
98
*
109
* Multi Theft Auto is available from http://www.multitheftauto.com/
1110
*

src/Mta.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* PROJECT: MTA PHP SDK
66
* LICENSE: See LICENSE in the top level directory
77
* FILE: mta.php
8-
* VERSION: 1.0.0
98
*
109
* Multi Theft Auto is available from http://www.multitheftauto.com/
1110
*
@@ -15,14 +14,13 @@
1514

1615
namespace MultiTheftAuto\Sdk;
1716

18-
use GuzzleHttp\Psr7\Stream;
1917
use Http\Client\HttpClient;
2018
use Http\Discovery\HttpClientDiscovery;
2119
use Http\Discovery\MessageFactoryDiscovery;
2220
use Http\Message\Authentication\BasicAuth;
2321
use Http\Message\MessageFactory;
2422
use MultiTheftAuto\Sdk\Authentication\Credential;
25-
use MultiTheftAuto\Sdk\Model\Resource;
23+
use MultiTheftAuto\Sdk\Model\Resource as MtaResource;
2624
use MultiTheftAuto\Sdk\Model\Resources;
2725
use MultiTheftAuto\Sdk\Model\Server;
2826
use MultiTheftAuto\Sdk\Response\HandleResponse;
@@ -70,12 +68,12 @@ public function __construct(
7068
$this->messageFactory = $messageFactory?? MessageFactoryDiscovery::find();
7169
}
7270

73-
public function getResource(string $resourceName): Resource
71+
public function getResource(string $resourceName): MtaResource
7472
{
7573
$resource = $this->resources->findByName($resourceName);
7674

7775
if (!$resource) {
78-
$resource = new Resource($resourceName, $this);
76+
$resource = new MtaResource($resourceName, $this);
7977
$this->resources->add($resource);
8078
}
8179

src/Response/HandleResponse.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* PROJECT: MTA PHP SDK
66
* LICENSE: See LICENSE in the top level directory
77
* FILE: HandleResponse.php
8-
* VERSION: 1.0.0
98
*
109
* Multi Theft Auto is available from http://www.multitheftauto.com/
1110
*

src/Response/HttpStatusVerification.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* PROJECT: MTA PHP SDK
66
* LICENSE: See LICENSE in the top level directory
77
* FILE: HttpStatusVerification.php
8-
* VERSION: 1.0.0
98
*
109
* Multi Theft Auto is available from http://www.multitheftauto.com/
1110
*

src/Utils/Input.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* PROJECT: MTA PHP SDK
66
* LICENSE: See LICENSE in the top level directory
77
* FILE: Input.php
8-
* VERSION: 1.0.0
98
*
109
* Multi Theft Auto is available from http://www.multitheftauto.com/
1110
*

src/Utils/Translator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* PROJECT: MTA PHP SDK
66
* LICENSE: See LICENSE in the top level directory
77
* FILE: Conversion.php
8-
* VERSION: 1.0.0
98
*
109
* Multi Theft Auto is available from http://www.multitheftauto.com/
1110
*

0 commit comments

Comments
 (0)