Skip to content

Commit 363b544

Browse files
committed
Whitespaces
1 parent ccfa619 commit 363b544

7 files changed

Lines changed: 17 additions & 13 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
/vendor/
22
/nbproject/
3-
/.idea/
3+
/.idea/

Decorator/CurlDecoratorInterface.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Edge\Ares\Decorator;
44

5+
56
/**
67
* Interface CurlDecoratorInterface
78
* @author Marek Makovec <marek.makovec@edgedesign.cz>
@@ -14,4 +15,5 @@ interface CurlDecoratorInterface
1415
* @param resource $resource
1516
*/
1617
public function decorate($resource);
17-
}
18+
19+
}

Decorator/ProxyCurlDecorator.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
namespace Edge\Ares\Decorator;
44

5+
56
/**
67
* Class ProxyCurlDecorator
78
*
89
* @author Marek Makovec <marek.makovec@edgedesign.cz>
910
*/
1011
class ProxyCurlDecorator implements CurlDecoratorInterface
1112
{
12-
1313
private $proxyHost;
1414

1515
private $proxyPort;
@@ -63,4 +63,5 @@ public function decorate($resource)
6363
);
6464
}
6565
}
66-
}
66+
67+
}

Exception/HttpException.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
namespace Edge\Ares\Exception;
44

5+
56
/**
6-
*
77
* @author Marek Makovec <marek.makovec@edgedesign.cz>
88
*/
99
class HttpException extends \Exception implements ExceptionInterface
1010
{
11-
12-
}
11+
}

Exception/InvalidXmlException.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
namespace Edge\Ares\Exception;
44

5+
56
/**
6-
*
77
* @author Marek Makovec <marek.makovec@edgedesign.cz>
88
*/
99
class InvalidXmlException extends \Exception implements ExceptionInterface
1010
{
11-
12-
}
11+
}

Provider/HttpProvider.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<?php
22

33
namespace Edge\Ares\Provider;
4+
45
use Edge\Ares\Decorator\CurlDecoratorInterface;
56
use Edge\Ares\Exception\HttpException;
67

8+
79
/**
810
* @author Marek Makovec <marek.makovec@edgedesign.cz>
911
*/
@@ -16,12 +18,12 @@ class HttpProvider implements ProviderInterface
1618
*/
1719
private $decorator;
1820

21+
1922
public function __construct(CurlDecoratorInterface $decorator = null)
2023
{
2124
$this->decorator = $decorator;
2225
}
2326

24-
2527
/**
2628
* Fetch XML describing subject with given ID.
2729
*
@@ -64,4 +66,5 @@ private function generateUrl($ic)
6466
{
6567
return sprintf(self::ARES_API_URL, $ic);
6668
}
67-
}
69+
70+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ try {
3535
} catch (\Edge\Ares\Exception\ExceptionInterface $e) {
3636
// Do some error handling here.
3737
}
38-
```
38+
```

0 commit comments

Comments
 (0)