Completed
Push — master ( 6d49a3...a20a92 )
by Dorian
01:25
created
src/Platform/YouTube/FilesystemManager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     /**
55 55
      * {@inheritdoc}
56
-     * @param \App\Platform\YouTube\Download[]|\App\Domain\Collection $downloads
56
+     * @param Collection $downloads
57 57
      *
58 58
      * @throws \RuntimeException
59 59
      */
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * Checks if a folder (or one of its parent, up to the $limit parameter) is found in the collection of folders.
115 115
      *
116 116
      * @param \SplFileInfo $folderToSearchFor
117
-     * @param \SplFileInfo[]|\App\Domain\Collection $folders
117
+     * @param Collection $folders
118 118
      * @param bool $loopOverParentsFolders
119 119
      * @param Path $untilPath
120 120
      *
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     }
154 154
 
155 155
     /**
156
-     * @param \SplFileInfo[]|\App\Domain\Collection $foldersToRemove
156
+     * @param Collection $foldersToRemove
157 157
      * @param \App\Domain\Path $downloadPath
158 158
      *
159 159
      * @return bool Whether folders were removed or not.
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
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     }
37 37
 
38 38
     /**
39
-     * @param \App\Domain\Content[]|\App\Domain\Collection $contents
39
+     * @param Collection $contents
40 40
      * @param \App\Domain\PathPart $rootPathPart
41 41
      * @throws \RuntimeException
42 42
      */
@@ -99,9 +99,9 @@  discard block
 block discarded – undo
99 99
     }
100 100
 
101 101
     /**
102
-     * @param \App\Platform\YouTube\Download[]|\App\Domain\Collection $downloads
102
+     * @param Collection $downloads
103 103
      *
104
-     * @return \App\Platform\YouTube\Download[]|\App\Domain\Collection
104
+     * @return Collection
105 105
      */
106 106
     private function filterAlreadyDownloaded(Collection $downloads): Collection
107 107
     {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     }
123 123
 
124 124
     /**
125
-     * @param \App\Platform\YouTube\Download[]|\App\Domain\Collection $downloads
125
+     * @param Collection $downloads
126 126
      * @param \App\Domain\Path $downloadPath
127 127
      *
128 128
      * @return bool
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     }
158 158
 
159 159
     /**
160
-     * @param \App\Platform\YouTube\Download[]|\App\Domain\Collection $downloads
160
+     * @param Collection $downloads
161 161
      *
162 162
      * @throws \RuntimeException
163 163
      */
Please login to merge, or discard this patch.