@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function __construct(string $name) |
| 19 | 19 | { |
| 20 | - if(empty($name)) { |
|
| 20 | + if (empty($name)) { |
|
| 21 | 21 | throw new EmptyValueException('Package name can\'t be empty'); |
| 22 | 22 | } |
| 23 | 23 | |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | public function getDownloadsLastDay() |
| 44 | 44 | { |
| 45 | 45 | $resource = $this->repository->getResourceByPath( |
| 46 | - '/downloads/point/last-day/' . $this->package |
|
| 46 | + '/downloads/point/last-day/'.$this->package |
|
| 47 | 47 | ); |
| 48 | 48 | |
| 49 | 49 | return DownloadStatistics::fromJson($this->package, $resource); |