Completed
Push — master ( effccc...1d6376 )
by Dorian
01:23
created
src/Platform/YouTube/FilesystemManager.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
     /**
75 75
      * {@inheritdoc}
76
-     * @param \App\Platform\YouTube\Download[]|\App\Domain\Collection $downloads
76
+     * @param Collection $downloads
77 77
      *
78 78
      * @throws \RuntimeException
79 79
      */
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      * Checks if a folder (or one of its parent, up to the $limit parameter) is found in the collection of folders.
112 112
      *
113 113
      * @param \SplFileInfo $folderToSearchFor
114
-     * @param \SplFileInfo[]|\App\Domain\Collection $folders
114
+     * @param Collection $folders
115 115
      * @param bool $loopOverParentsFolders
116 116
      * @param Path $untilPath
117 117
      *
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
     }
151 151
 
152 152
     /**
153
-     * @param \SplFileInfo[]|\App\Domain\Collection $foldersToRemove
153
+     * @param Collection $foldersToRemove
154 154
      * @param \App\Domain\Path $downloadPath
155 155
      *
156 156
      * @return bool Whether folders were removed or not.
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-     * @param \App\Platform\YouTube\Download[]|\App\Domain\Collection $downloads
199
+     * @param Collection $downloads
200 200
      *
201 201
      * @return \SplFileInfo[]|\App\Domain\Collection
202 202
      */
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
     }
220 220
 
221 221
     /**
222
-     * @param \SplFileInfo[]|\App\Domain\Collection $foldersToRemove
222
+     * @param Collection $foldersToRemove
223 223
      * @param \App\Domain\Path $downloadPath
224 224
      *
225 225
      * @return bool
Please login to merge, or discard this patch.
src/Platform/YouTube/YouTube.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     }
36 36
 
37 37
     /**
38
-     * @param \App\Domain\Content[]|\App\Domain\Collection $contents
38
+     * @param Collection $contents
39 39
      * @param \App\Domain\PathPart $rootPathPart
40 40
      * @throws \RuntimeException
41 41
      */
@@ -98,9 +98,9 @@  discard block
 block discarded – undo
98 98
     }
99 99
 
100 100
     /**
101
-     * @param \App\Platform\YouTube\Download[]|\App\Domain\Collection $downloads
101
+     * @param Collection $downloads
102 102
      *
103
-     * @return \App\Platform\YouTube\Download[]|\App\Domain\Collection
103
+     * @return Collection
104 104
      */
105 105
     private function filterAlreadyDownloaded(Collection $downloads): Collection
106 106
     {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     }
122 122
 
123 123
     /**
124
-     * @param \App\Platform\YouTube\Download[]|\App\Domain\Collection $downloads
124
+     * @param Collection $downloads
125 125
      * @param \App\Domain\Path $downloadPath
126 126
      *
127 127
      * @return bool
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     }
157 157
 
158 158
     /**
159
-     * @param \App\Platform\YouTube\Download[]|\App\Domain\Collection $downloads
159
+     * @param Collection $downloads
160 160
      * @param \App\Domain\Path $downloadPath
161 161
      *
162 162
      * @throws \RuntimeException
Please login to merge, or discard this patch.