File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed
Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ public function extension($path)
431431 }
432432
433433 /**
434- * Guess the file extension from the mime- type of a given file.
434+ * Guess the file extension from the MIME type of a given file.
435435 *
436436 * @param string $path
437437 * @return string|null
@@ -461,7 +461,7 @@ public function type($path)
461461 }
462462
463463 /**
464- * Get the mime- type of a given file.
464+ * Get the MIME type of a given file.
465465 *
466466 * @param string $path
467467 * @return string|false
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public function getSize(): int
112112 }
113113
114114 /**
115- * Set the " MIME type" for the file.
115+ * Set the MIME type for the file.
116116 *
117117 * @param string $mimeType
118118 * @return $this
Original file line number Diff line number Diff line change 88class MimeType
99{
1010 /**
11- * The mime types instance.
11+ * The MIME types instance.
1212 *
1313 * @var \Symfony\Component\Mime\MimeTypes|null
1414 */
1515 private static $ mime ;
1616
1717 /**
18- * Get the mime types instance.
18+ * Get the MIME types instance.
1919 *
2020 * @return \Symfony\Component\Mime\MimeTypesInterface
2121 */
@@ -42,7 +42,7 @@ public static function from($filename)
4242 }
4343
4444 /**
45- * Get the MIME type for a given extension or return all mimes .
45+ * Get the MIME type for a given extension or return all MIME types .
4646 *
4747 * @param string $extension
4848 * @return string
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class Attachment
2121 public $ as ;
2222
2323 /**
24- * The attached file's mime type.
24+ * The attached file's MIME type.
2525 *
2626 * @var string|null
2727 */
@@ -144,7 +144,7 @@ public function as($name)
144144 }
145145
146146 /**
147- * Set the attached file's mime type.
147+ * Set the attached file's MIME type.
148148 *
149149 * @param string $mime
150150 * @return $this
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ protected function buildValidationRules()
319319 }
320320
321321 /**
322- * Separate the given mimetypes from extensions and return an array of correct rules to validate against.
322+ * Separate the given MIME types from extensions and return an array of correct rules to validate against.
323323 *
324324 * @return array
325325 */
You can’t perform that action at this time.
0 commit comments