Skip to content

Commit

Permalink
Bug #17699 - add type hint to prevent one fatal error
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/PHP_CodeSniffer/trunk@302198 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
CloCkWeRX committed Aug 14, 2010
1 parent 7cd0de3 commit 13fe3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Standards/AbstractSniffUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ protected final function runTest()
* @return array
* @throws PHP_CodeSniffer_Exception
*/
public function generateFailureMessages($file)
public function generateFailureMessages(PHP_CodeSniffer_File $file)
{
$testFile = $file->getFilename();

Expand Down

0 comments on commit 13fe3dd

Please sign in to comment.