Skip to content

Commit 8277ec3

Browse files
Merge pull request #1 from jmikola/phplib-114-review
PHPLIB-114: CS fixes and refactoring
2 parents ead7cf1 + 59e7ebd commit 8277ec3

13 files changed

+836
-833
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)