Completed
Push — master ( 8d91fd...0e0bf2 )
by Benjamin
11:32
created
DataFixtures/ORM/MediaProvider.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -88,6 +88,9 @@  discard block
 block discarded – undo
88 88
         return $url;
89 89
     }
90 90
 
91
+    /**
92
+     * @param string $url
93
+     */
91 94
     protected function downloadMedia($url, $ext)
92 95
     {
93 96
         $filepath = sys_get_temp_dir() . '/' . uniqid() . '.' . $ext;
@@ -102,6 +105,9 @@  discard block
 block discarded – undo
102 105
         return new File($filepath, 'random');
103 106
     }
104 107
 
108
+    /**
109
+     * @param string $key
110
+     */
105 111
     protected function fetchFromCache($key)
106 112
     {
107 113
         $fs = new Filesystem();
@@ -130,6 +136,9 @@  discard block
 block discarded – undo
130 136
         }
131 137
     }
132 138
 
139
+    /**
140
+     * @param string $key
141
+     */
133 142
     protected function storeInCache($key, File $file)
134 143
     {
135 144
         $fs = new Filesystem();
Please login to merge, or discard this patch.