Skip to content

Commit aabf44f

Browse files
committed
Apply fixes from StyleCI
[ci skip] [skip ci]
1 parent dde159b commit aabf44f

File tree

8 files changed

+22
-14
lines changed

8 files changed

+22
-14
lines changed

src/Commands/Install.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ class Install extends Command
1313
{
1414
/**
1515
* The name and signature of the console command.
16+
*
1617
* @var string
1718
*/
1819
protected $signature = 'airdrop:install';
1920

2021
/**
2122
* The console command description.
23+
*
2224
* @var string
2325
*/
2426
protected $description = 'Install the Airdrop config file into your app.';

src/Concerns/MakesDrivers.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ trait MakesDrivers
1414
{
1515
/**
1616
* @return BaseDriver
17+
*
1718
* @throws Exception
1819
*/
1920
public function makeDriver()
@@ -41,6 +42,7 @@ public function getDriverConfig()
4142

4243
/**
4344
* @param $driver
45+
*
4446
* @throws Exception
4547
*/
4648
protected function ensureDriverExtendsBase($driver)

src/Contracts/TriggerContract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface TriggerContract
1111
* Return any state that should be considered when determining
1212
* whether or not your build process needs to run again.
1313
*
14-
* @param array $config
14+
* @param array $config
1515
* @return array
1616
*/
1717
public function triggerBuildWhenChanged($config = []);

src/Drivers/FilesystemDriver.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public function download()
6262

6363
/**
6464
* @param $path
65+
*
6566
* @throws Exception
6667
*/
6768
public function makeZip($path)
@@ -162,7 +163,8 @@ protected function stashedPackageFilename()
162163
}
163164

164165
/**
165-
* @param string $zipPath
166+
* @param string $zipPath
167+
*
166168
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
167169
*/
168170
protected function downloadFromRemoteStorage($zipPath)
@@ -175,7 +177,7 @@ protected function downloadFromRemoteStorage($zipPath)
175177
}
176178

177179
/**
178-
* @param string $zipPath
180+
* @param string $zipPath
179181
*/
180182
protected function uploadToRemoteStorage($zipPath)
181183
{

src/FileSelection.php

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @author Aaron Francis
55
* @author Spatie bvba info@spatie.be
66
* @license MIT
7+
*
78
* @see https://github.com/spatie/laravel-backup/blob/master/src/Tasks/Backup/FileSelection.php
89
*/
910

@@ -35,8 +36,8 @@ class FileSelection
3536
protected $shouldFollowLinks = false;
3637

3738
/**
38-
* @param array $include
39-
* @param array $exclude
39+
* @param array $include
40+
* @param array $exclude
4041
* @return FileSelection
4142
*/
4243
public static function create($include = [], $exclude = [])
@@ -45,8 +46,8 @@ public static function create($include = [], $exclude = [])
4546
}
4647

4748
/**
48-
* @param array $include
49-
* @param array $exclude
49+
* @param array $include
50+
* @param array $exclude
5051
*/
5152
public function __construct($include = [], $exclude = [])
5253
{
@@ -55,7 +56,7 @@ public function __construct($include = [], $exclude = [])
5556
}
5657

5758
/**
58-
* @param array $patterns
59+
* @param array $patterns
5960
* @return FileSelection
6061
*/
6162
public function excludeNames($patterns)
@@ -68,8 +69,7 @@ public function excludeNames($patterns)
6869
/**
6970
* Do not included the given files and directories.
7071
*
71-
* @param array|string $excludeFilesAndDirectories
72-
*
72+
* @param array|string $excludeFilesAndDirectories
7373
* @return FileSelection
7474
*/
7575
public function excludeFilesFrom($excludeFilesAndDirectories)
@@ -169,8 +169,7 @@ protected function shouldExclude(string $path): bool
169169
}
170170

171171
/**
172-
* @param string|array $paths
173-
*
172+
* @param string|array $paths
174173
* @return \Illuminate\Support\Collection
175174
*/
176175
protected function sanitize($paths)

src/HashGenerator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public function __construct()
3232

3333
/**
3434
* @return string
35+
*
3536
* @throws Exception
3637
*/
3738
public function generate()
@@ -41,6 +42,7 @@ public function generate()
4142

4243
/**
4344
* @return array
45+
*
4446
* @throws Exception
4547
*/
4648
public function asArray()
@@ -63,6 +65,7 @@ public function asArray()
6365

6466
/**
6567
* @param $class
68+
*
6669
* @throws Exception
6770
*/
6871
protected function ensureContractImplemented($class)

src/Triggers/ConfigTrigger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class ConfigTrigger implements TriggerContract
1313
* Return any state that should be considered when determining
1414
* whether or not your build process needs to run again.
1515
*
16-
* @param array $config
16+
* @param array $config
1717
* @return array
1818
*/
1919
public function triggerBuildWhenChanged($config = [])

src/Triggers/FileTrigger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class FileTrigger implements TriggerContract
1717
* Return any state that should be considered when determining
1818
* whether or not your build process needs to run again.
1919
*
20-
* @param array $config
20+
* @param array $config
2121
* @return array
2222
*/
2323
public function triggerBuildWhenChanged($config = [])

0 commit comments

Comments
 (0)