Skip to content

Commit 6f89447

Browse files
StyleCIBotLKaemmerling
authored andcommitted
Apply fixes from StyleCI
1 parent 9a8b959 commit 6f89447

6 files changed

Lines changed: 16 additions & 13 deletions

File tree

src/Models/Prices/Price.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ class Price
1616

1717
/**
1818
* Price constructor.
19-
* @param string $net
20-
* @param string $gross
19+
*
20+
* @param string $net
21+
* @param string $gross
2122
*/
2223
public function __construct(string $net, string $gross)
2324
{
@@ -26,7 +27,7 @@ public function __construct(string $net, string $gross)
2627
}
2728

2829
/**
29-
* @param $input
30+
* @param $input
3031
* @return self|null
3132
*/
3233
public static function parse($input): ?self

src/Models/Prices/Prices.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
namespace LKDev\HetznerCloud\Models\Prices;
1111

1212
use LKDev\HetznerCloud\HetznerAPIClient;
13+
use LKDev\HetznerCloud\Models\LoadBalancerTypes\LoadBalancerType;
1314
use LKDev\HetznerCloud\Models\Model;
1415
use LKDev\HetznerCloud\Models\Servers\Types\ServerType;
15-
use LKDev\HetznerCloud\Models\LoadBalancerTypes\LoadBalancerType;
1616
use LKDev\HetznerCloud\RequestOpts;
1717

1818
/**
@@ -87,7 +87,7 @@ public function all(?RequestOpts $requestOpts = null): ?self
8787
}
8888

8989
/**
90-
* @param $input
90+
* @param $input
9191
* @return $this
9292
*/
9393
public function setAdditionalData($input)
@@ -114,7 +114,7 @@ public function setAdditionalData($input)
114114
}
115115

116116
/**
117-
* @param $input
117+
* @param $input
118118
* @return array
119119
*/
120120
public static function parse($input)

src/Models/Prices/ServerTypePrice.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ class ServerTypePrice
2121

2222
/**
2323
* ServerTypePrice constructor.
24-
* @param string $location
25-
* @param Price $priceHourly
26-
* @param Price $priceMonthly
24+
*
25+
* @param string $location
26+
* @param Price $priceHourly
27+
* @param Price $priceMonthly
2728
*/
2829
public function __construct(string $location, Price $priceHourly, Price $priceMonthly)
2930
{
@@ -33,7 +34,7 @@ public function __construct(string $location, Price $priceHourly, Price $priceMo
3334
}
3435

3536
/**
36-
* @param $input
37+
* @param $input
3738
* @return self|null
3839
*/
3940
public static function parse($input): ?self

src/Models/Servers/Servers.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ public function deleteById(int $serverId): ?Action
158158
* @return APIResponse|null
159159
*
160160
* @throws \LKDev\HetznerCloud\APIException
161+
*
161162
* @deprecated Use createInLocation instead
162163
*/
163164
public function createInDatacenter(

tests/Unit/Models/Networks/SubnetAndRouteTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace LKDev\Tests\Unit\Models\Networks;
44

5-
use LKDev\HetznerCloud\Models\Networks\Subnet;
65
use LKDev\HetznerCloud\Models\Networks\Route;
6+
use LKDev\HetznerCloud\Models\Networks\Subnet;
77
use LKDev\Tests\TestCase;
88

99
class SubnetAndRouteTest extends TestCase

tests/Unit/Models/Pricing/PricingTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
namespace LKDev\Tests\Unit\Pricing;
1111

1212
use GuzzleHttp\Psr7\Response;
13-
use LKDev\HetznerCloud\Models\Prices\Prices;
1413
use LKDev\HetznerCloud\Models\Prices\Price;
15-
use LKDev\HetznerCloud\Models\Servers\Types\ServerType;
14+
use LKDev\HetznerCloud\Models\Prices\Prices;
1615
use LKDev\HetznerCloud\Models\Prices\ServerTypePrice;
16+
use LKDev\HetznerCloud\Models\Servers\Types\ServerType;
1717
use LKDev\Tests\TestCase;
1818

1919
class PricingTest extends TestCase

0 commit comments

Comments
 (0)