Completed
Push — master ( 72db9f...0f22fe )
by Igor
02:23
created
src/Bundle/Common/File/FileUpload.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * It is extracted from the request from which the file has been uploaded.
37 37
      * Then it should not be considered as a safe value.
38 38
      *
39
-     * @return string|null The original name
39
+     * @return string The original name
40 40
      */
41 41
     public function nameUnsafe()
42 42
     {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      * The client mime type is extracted from the request from which the file
63 63
      * was uploaded, so it should not be considered as a safe value.
64 64
      *
65
-     * @return string|null The mime type
65
+     * @return string The mime type
66 66
      */
67 67
     public function mimeTypeUnsafe()
68 68
     {
Please login to merge, or discard this patch.
src/Bundle/Common/File/File.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     }
63 63
 
64 64
     /**
65
-     * @return string|null
65
+     * @return string
66 66
      */
67 67
     public function guessMimeType()
68 68
     {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param $directory
73
+     * @param string $directory
74 74
      * @param string|null $name
75 75
      *
76 76
      * @return File
Please login to merge, or discard this patch.