Skip to content

Commit

Permalink
cant use null, lets try this...
Browse files Browse the repository at this point in the history
  • Loading branch information
jrushlow committed Apr 1, 2020
1 parent 6b425c5 commit 7af6e60
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions DependencyInjection/Configuration.php
Expand Up @@ -701,14 +701,16 @@ private function getAutoGenerateModes() : array
*/
private function getCommentedParamDeprecationMsg() : array
{
$msg = 'The doctrine-bundle type commenting features removed; the corresponding config parameter was deprecated in 2.0 and will be dropped in 3.0.';

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.',
$msg,
];
}

return [null];
return [$msg];
}
}

0 comments on commit 7af6e60

Please sign in to comment.