Skip to content

Commit f2666e1

Browse files
committed
Apply CS fixes and refactor GridFS classes
1 parent 0b31800 commit f2666e1

10 files changed

+824
-676
lines changed

src/Exception/GridFSFileNotFoundException.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
class GridFSFileNotFoundException extends \MongoDB\Driver\Exception\RuntimeException implements Exception
66
{
7-
public function __construct($fname, $nameSpace){
8-
parent::__construct(sprintf('Unable to find file by: %s in %s', $fname,$nameSpace));
9-
}
7+
public function __construct($filename, $namespace)
8+
{
9+
parent::__construct(sprintf('Unable to find file "%s" in namespace "%s"', $filename, $namespace));
10+
}
1011
}

0 commit comments

Comments
 (0)