Skip to content

Commit 96f46e0

Browse files
committed
Use "filename" instead of "file name" in doc blocks
1 parent 6cd2b40 commit 96f46e0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/GridFS/Bucket.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function downloadToStream($id, $destination)
136136
* * -2 = the second most recent revision
137137
* * -1 = the most recent revision
138138
*
139-
* @param string $filename File name
139+
* @param string $filename Filename
140140
* @param resource $destination Writable Stream
141141
* @param array $options Download options
142142
* @throws FileNotFoundException
@@ -242,7 +242,7 @@ public function openDownloadStream($id)
242242
* * -2 = the second most recent revision
243243
* * -1 = the most recent revision
244244
*
245-
* @param string $filename File name
245+
* @param string $filename Filename
246246
* @param array $options Download options
247247
* @return resource
248248
* @throws FileNotFoundException
@@ -268,7 +268,7 @@ public function openDownloadStreamByName($filename, array $options = [])
268268
* * chunkSizeBytes (integer): The chunk size in bytes. Defaults to the
269269
* bucket's chunk size.
270270
*
271-
* @param string $filename File name
271+
* @param string $filename Filename
272272
* @param array $options Upload options
273273
* @return resource
274274
*/
@@ -292,7 +292,7 @@ public function openUploadStream($filename, array $options = [])
292292
* Renames the GridFS file with the specified ID.
293293
*
294294
* @param mixed $id File ID
295-
* @param string $newFilename New file name
295+
* @param string $newFilename New filename
296296
* @throws FileNotFoundException
297297
*/
298298
public function rename($id, $newFilename)
@@ -325,7 +325,7 @@ public function rename($id, $newFilename)
325325
* * chunkSizeBytes (integer): The chunk size in bytes. Defaults to the
326326
* bucket's chunk size.
327327
*
328-
* @param string $filename File name
328+
* @param string $filename Filename
329329
* @param resource $source Readable stream
330330
* @param array $options Stream options
331331
* @return ObjectId ID of the newly created GridFS file

src/GridFS/WritableStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class WritableStream
4848
* collection document.
4949
*
5050
* @param CollectionWrapper $collectionWrapper GridFS collection wrapper
51-
* @param string $filename File name
51+
* @param string $filename Filename
5252
* @param array $options Upload options
5353
* @throws InvalidArgumentException
5454
*/

0 commit comments

Comments
 (0)