Skip to content

Commit ed0237b

Browse files
committed
fix some capitalization
1 parent 7a55d3e commit ed0237b

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/Illuminate/Filesystem/Filesystem.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

src/Illuminate/Http/Testing/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/Illuminate/Http/Testing/MimeType.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
class 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

src/Illuminate/Mail/Attachment.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

src/Illuminate/Validation/Rules/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
*/

0 commit comments

Comments
 (0)