@@ -64,7 +64,7 @@ class YandexDisk implements Sync\Simulator
64
64
* @throws \phpbu\App\Exception
65
65
* @see \phpbu\App\Backup\Sync::setup()
66
66
*/
67
- public function setup (array $ config ): void
67
+ public function setup (array $ config )
68
68
{
69
69
if (!class_exists (Disk::class)) {
70
70
throw new Exception ('Yandex.Disk sdk not loaded: use composer to install "arhitector/yandex" ' );
@@ -89,7 +89,7 @@ public function setup(array $config): void
89
89
* @throws Exception
90
90
* @see \phpbu\App\Backup\Sync::sync()
91
91
*/
92
- public function sync (Target $ target , Result $ result ): void
92
+ public function sync (Target $ target , Result $ result )
93
93
{
94
94
$ sourcePath = $ target ->getPathname ();
95
95
$ yandexDiskPath = $ this ->path . '/ ' . $ target ->getFilename ();
@@ -115,7 +115,7 @@ public function sync(Target $target, Result $result): void
115
115
}
116
116
}
117
117
118
- private function createFolders (): void
118
+ private function createFolders ()
119
119
{
120
120
$ folderPath = '' ;
121
121
$ folderPaths = explode ('/ ' , $ this ->path ->getPath ());
@@ -138,7 +138,7 @@ private function createFolders(): void
138
138
* @param Target $target
139
139
* @param Result $result
140
140
*/
141
- public function simulate (Target $ target , Result $ result ): void
141
+ public function simulate (Target $ target , Result $ result )
142
142
{
143
143
$ result ->debug ('sync backup to yandex disk ' . PHP_EOL );
144
144
0 commit comments