Completed
Pull Request — master (#3)
by
unknown
20:32
created
Controller/MediasController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@
 block discarded – undo
97 97
         }
98 98
     }
99 99
 
100
+    /**
101
+     * @param \Symfony\Component\HttpFoundation\FileBag $file
102
+     */
100 103
     private function initEvent($file,$model,$model_id)
101 104
     {
102 105
         $event = new UploadEvent();
Please login to merge, or discard this patch.
Manager/MediaManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -109,6 +109,9 @@
 block discarded – undo
109 109
         return $this->em->getRepository('MykeesMediaBundle:Media')->queryForModelAndId($model,$model_id);
110 110
     }
111 111
 
112
+    /**
113
+     * @param string $model
114
+     */
112 115
     public function unlink($model, Media $media)
113 116
     {
114 117
         $info  = pathinfo($media->getFile());
Please login to merge, or discard this patch.
Util/Urlizer.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -232,6 +232,7 @@
 block discarded – undo
232 232
     * Note: this function has been modified to simple return true or false
233 233
     * @author <[email protected]>
234 234
     * @param string UTF-8 encoded string
235
+    * @param string $str
235 236
     * @return boolean true if valid
236 237
     * @see http://hsivonen.iki.fi/php-utf8/
237 238
     */
Please login to merge, or discard this patch.