Skip to content

Commit d381f77

Browse files
authored
Apply fixes from StyleCI (#57)
1 parent 90d3bf9 commit d381f77

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/UpdaterManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
use Closure;
66
use GuzzleHttp\Client;
7+
use InvalidArgumentException;
78
use Illuminate\Foundation\Application;
89
use Codedge\Updater\Contracts\UpdaterContract;
910
use Codedge\Updater\Contracts\SourceRepositoryTypeContract;
1011
use Codedge\Updater\SourceRepositoryTypes\HttpRepositoryType;
1112
use Codedge\Updater\SourceRepositoryTypes\GithubRepositoryType;
12-
use InvalidArgumentException;
1313

1414
/**
1515
* Updater.php.
@@ -117,7 +117,7 @@ public function __call($method, $parameters)
117117
*/
118118
protected function getConfig(string $name): array
119119
{
120-
if(isset($this->app['config']['self-update']['repository_types'][$name])) {
120+
if (isset($this->app['config']['self-update']['repository_types'][$name])) {
121121
return $this->app['config']['self-update']['repository_types'][$name];
122122
}
123123

src/UpdaterServiceProvider.php

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

33
namespace Codedge\Updater;
44

5-
use Codedge\Updater\Contracts\SourceRepositoryTypeContract;
65
use Illuminate\Support\ServiceProvider;
76
use Codedge\Updater\Commands\CheckForUpdate;
87
use Illuminate\Contracts\Container\Container;

0 commit comments

Comments
 (0)