Skip to content

Commit

Permalink
fixed possible ArgumentCountException and CS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jrushlow committed Apr 1, 2020
1 parent eaaf549 commit 6b425c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -699,16 +699,16 @@ private function getAutoGenerateModes() : array
* introduced at the same time. By checking if getDefinition() exists,
* we can determine the correct param count to use when calling setDeprecated.
*/
private function getCommentedParamDeprecationMsg(): array
private function getCommentedParamDeprecationMsg() : array
{
if (method_exists(BaseNode::class, 'getDefinition')) {
return [
'doctrine/doctrine-bundle',
'2.0',
'Type commenting features removed; the corresponding config parameter was deprecated and will be dropped in 3.0.'
'Type commenting features removed; the corresponding config parameter was deprecated and will be dropped in 3.0.',
];
}

return [];
return [null];
}
}

0 comments on commit 6b425c5

Please sign in to comment.