Skip to content

Commit

Permalink
Rename method to match parent name
Browse files Browse the repository at this point in the history
Since PHP is case insensitive for method names this is BC compatible.
  • Loading branch information
lcobucci committed Jan 2, 2020
1 parent fd89091 commit 566e2cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion lib/Doctrine/DBAL/Platforms/SqlitePlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ public static function udfLocate($str, $substr, $offset = 0)
/**
* {@inheritDoc}
*/
public function getForUpdateSQL()
public function getForUpdateSql()
{
return '';
}
Expand Down
5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,6 @@ parameters:
count: 3
path: lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php

-
message: "#^Method Doctrine\\\\DBAL\\\\Platforms\\\\SqlitePlatform\\:\\:getForUpdateSql\\(\\) has no return typehint specified\\.$#"
count: 1
path: lib/Doctrine/DBAL/Platforms/SqlitePlatform.php

-
message: "#^Method Doctrine\\\\DBAL\\\\Portability\\\\Connection\\:\\:executeQuery\\(\\) return type has no value type specified in iterable type Doctrine\\\\DBAL\\\\Driver\\\\ResultStatement\\.$#"
count: 1
Expand Down

0 comments on commit 566e2cb

Please sign in to comment.