Skip to content

Commit a5e5786

Browse files
Remove void return types
1 parent fa13f00 commit a5e5786

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Backup/Sync/YandexDisk.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class YandexDisk implements Sync\Simulator
6464
* @throws \phpbu\App\Exception
6565
* @see \phpbu\App\Backup\Sync::setup()
6666
*/
67-
public function setup(array $config): void
67+
public function setup(array $config)
6868
{
6969
if (!class_exists(Disk::class)) {
7070
throw new Exception('Yandex.Disk sdk not loaded: use composer to install "arhitector/yandex"');
@@ -89,7 +89,7 @@ public function setup(array $config): void
8989
* @throws Exception
9090
* @see \phpbu\App\Backup\Sync::sync()
9191
*/
92-
public function sync(Target $target, Result $result): void
92+
public function sync(Target $target, Result $result)
9393
{
9494
$sourcePath = $target->getPathname();
9595
$yandexDiskPath = $this->path . '/' . $target->getFilename();
@@ -115,7 +115,7 @@ public function sync(Target $target, Result $result): void
115115
}
116116
}
117117

118-
private function createFolders(): void
118+
private function createFolders()
119119
{
120120
$folderPath = '';
121121
$folderPaths = explode('/', $this->path->getPath());
@@ -138,7 +138,7 @@ private function createFolders(): void
138138
* @param Target $target
139139
* @param Result $result
140140
*/
141-
public function simulate(Target $target, Result $result): void
141+
public function simulate(Target $target, Result $result)
142142
{
143143
$result->debug('sync backup to yandex disk' . PHP_EOL);
144144

0 commit comments

Comments
 (0)